summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-25 22:21:14 +0200
committerDave Reisner <dreisner@archlinux.org>2012-04-02 00:29:55 +0200
commit4511c1a56381d72947e311171e8acf0daf2bd2e6 (patch)
tree4f9acbd7cb1cab63b38b017162e7d2db0e3f7003 /Makefile
parent5a309568167623677c6310e7de99c62c273d3de7 (diff)
downloadmkinitcpio-4511c1a56381d72947e311171e8acf0daf2bd2e6.tar.gz
mkinitcpio-4511c1a56381d72947e311171e8acf0daf2bd2e6.tar.xz
add minor tweaks to make testing a bit easier
Since INSTDIR and HOOKDIR are understood as arrays now, declare them as such with the local 'hooks' and 'install' first to override the local FS. This makes the missing udev error go away and allows easier testing of other out of tree hooks. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 46b0b09..a81c818 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ DIST_EXTRA = \
all: doc
install: all
+ mkdir -p ${DESTDIR}
$(foreach dir,${DIRS},install -dm755 ${DESTDIR}${dir};)
sed -e 's|^CONFIG=.*|CONFIG=/etc/mkinitcpio.conf|' \