Makefile
changeset 12 1f683c5eef8f
parent 11 2fdc6206e792
child 15 9a4e01051148
equal deleted inserted replaced
11:2fdc6206e792 12:1f683c5eef8f
     6 CLEANFILES = exiacl
     6 CLEANFILES = exiacl
     7 
     7 
     8 prefix = /usr/local
     8 prefix = /usr/local
     9 bindir = $(prefix)/bin
     9 bindir = $(prefix)/bin
    10 
    10 
    11 STOW := $(shell which stow)
    11 STOW := $(shell which stow 2>/dev/null)
    12 ifdef STOW
    12 ifdef STOW
    13     override prefix := $(prefix)/stow/exiacl
    13     override prefix := $(prefix)/stow/exiacl
    14 endif
    14 endif
    15 
    15 
    16 
    16 
    33 	rm -rf $(stowdir)/$(p)
    33 	rm -rf $(stowdir)/$(p)
    34     
    34     
    35     
    35     
    36 %:	%.pl
    36 %:	%.pl
    37 	@perl -c $<
    37 	@perl -c $<
    38 	@cp -f $< $@
    38 	@cp -vf $< $@
    39 	@chmod -w+x $@
    39 	@chmod -w+x $@
    40 
    40 
    41 
    41 
    42 # vim:sts=4 sw=4 aw ai sm:
    42 # vim:sts=4 sw=4 aw ai sm: