summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-04 15:38:25 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-04 22:14:14 +0200
commitcb8c8351f152e8759fb6106d6435e20b1ead23a2 (patch)
tree6c828b6a46d35ea1a0b257ff6a97bacb3f2f41bb /Makefile
parent0c2c3f4c79b7660be01dc0838a6fe88ddefc0cd9 (diff)
downloadmkinitcpio-cb8c8351f152e8759fb6106d6435e20b1ead23a2.tar.gz
mkinitcpio-cb8c8351f152e8759fb6106d6435e20b1ead23a2.tar.xz
mkinitcpio: include version in help msg
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 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|' \