Makefile
changeset 19 d31157fe5358
parent 15 9a4e01051148
child 30 3d78db598b87
equal deleted inserted replaced
18:59377bd72cac 19:d31157fe5358
     7 p = exiacl
     7 p = exiacl
     8 
     8 
     9 prefix = /usr/local
     9 prefix = /usr/local
    10 bindir = $(prefix)/bin
    10 bindir = $(prefix)/bin
    11 
    11 
    12 STOW := $(shell which stow 2>/dev/null)
    12 ifndef DESTDIR
       
    13     STOW := $(shell which stow 2>/dev/null)
       
    14 else
       
    15     STOW :=
       
    16 endif
       
    17 
       
    18 # use stow if found
    13 ifdef STOW
    19 ifdef STOW
    14     override prefix := $(prefix)/stow/exiacl
    20     override prefix := $(prefix)/stow/exiacl
    15 endif
    21 endif
    16 
    22 
    17 
    23 
    38 	@perl -c $<
    44 	@perl -c $<
    39 	@cp -vf $< $@
    45 	@cp -vf $< $@
    40 	@chmod -w+x $@
    46 	@chmod -w+x $@
    41 
    47 
    42 
    48 
    43 # vim:sts=4 sw=4 aw ai sm:
    49 # vim:sts=4 sw=4 aw ai sm list: