Makefile
changeset 19 d31157fe5358
parent 15 9a4e01051148
child 30 3d78db598b87
--- a/Makefile	Mon Jul 17 11:59:59 2006 +0000
+++ b/Makefile	Wed Jul 19 08:12:16 2006 +0000
@@ -9,7 +9,13 @@
 prefix = /usr/local
 bindir = $(prefix)/bin
 
-STOW := $(shell which stow 2>/dev/null)
+ifndef DESTDIR
+    STOW := $(shell which stow 2>/dev/null)
+else
+    STOW :=
+endif
+
+# use stow if found
 ifdef STOW
     override prefix := $(prefix)/stow/exiacl
 endif
@@ -40,4 +46,4 @@
 	@chmod -w+x $@
 
 
-# vim:sts=4 sw=4 aw ai sm:
+# vim:sts=4 sw=4 aw ai sm list: