[hackers] [wmii] Support $(DESTDIR) :( || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 10 Dec 2008 23:05:32 +0000 (UTC)

changeset: 2418:8f2ee7d78857
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Dec 10 18:05:31 2008 -0500
files: mk/common.mk
description:
Support $(DESTDIR) :(

diff -r 0389a0b2d027 -r 8f2ee7d78857 mk/common.mk
--- a/mk/common.mk Wed Dec 10 18:04:00 2008 -0500
+++ b/mk/common.mk Wed Dec 10 18:05:31 2008 -0500
@@ -5,8 +5,8 @@
 MANDIRS=$(MAN)/man1
 mkdirs:
         for i in $(BIN) $(ETC) $(LIBDIR) $(MANDIRS) $(INCLUDE) $(DIRS); do \
- test -d $$i || echo MKDIR $$i; \
- mkdir -pm 0755 $$i; \
+ test -d $(DESTDIR)$$i || echo MKDIR $$i; \
+ mkdir -pm 0755 $(DESTDIR)$$i; \
         done
 
 cleandep:
Received on Wed Dec 10 2008 - 23:05:32 UTC

This archive was generated by hypermail 2.2.0 : Wed Dec 10 2008 - 23:12:04 UTC