summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ca1d63e..f26610d 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,7 @@ install: all
-e 's|^HOOKDIR=.*|HOOKDIR=/lib/initcpio/hooks|' \
-e 's|^INSTDIR=.*|INSTDIR=/lib/initcpio/install|' \
-e 's|^PRESETDIR=.*|PRESETDIR=/etc/mkinitcpio.d|' \
+ -e 's|%VERSION%|${VERSION}|g' \
< mkinitcpio > ${DESTDIR}/sbin/mkinitcpio
sed -e 's|\(^declare FUNCTIONS\)=.*|\1=/lib/initcpio/functions|' \