diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-11-05 19:40:07 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-11-15 01:11:09 +0100 |
commit | b0d88762fc06a100904c4559e3da285e4c78b0a0 (patch) | |
tree | 800c4ef9ce62cb3505eb7e1ba7dd187e28e1c56d /Makefile | |
parent | 99b4dcfc9b63e9cb1026e4cd2051314697c3924f (diff) | |
download | mkinitcpio-b0d88762fc06a100904c4559e3da285e4c78b0a0.tar.gz mkinitcpio-b0d88762fc06a100904c4559e3da285e4c78b0a0.tar.xz |
Makefile: install binaries to /usr/bin
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -3,8 +3,7 @@ VERSION = $(shell if test -f VERSION; then cat VERSION; else git describe | sed 's/-/./g'; fi) DIRS = \ - /bin \ - /sbin \ + /usr/bin \ /etc/bash_completion.d \ /etc/mkinitcpio.d \ /lib/initcpio/hooks \ @@ -26,13 +25,13 @@ install: all -e 's|^INSTDIR=.*|INSTDIR=/lib/initcpio/install|' \ -e 's|^PRESETDIR=.*|PRESETDIR=/etc/mkinitcpio.d|' \ -e 's|%VERSION%|${VERSION}|g' \ - < mkinitcpio > ${DESTDIR}/sbin/mkinitcpio + < mkinitcpio > ${DESTDIR}/usr/bin/mkinitcpio sed -e 's|\(^declare FUNCTIONS\)=.*|\1=/lib/initcpio/functions|' \ -e 's|%VERSION%|${VERSION}|g' \ - < lsinitcpio > ${DESTDIR}/bin/lsinitcpio + < lsinitcpio > ${DESTDIR}/usr/bin/lsinitcpio - chmod 755 ${DESTDIR}/bin/lsinitcpio ${DESTDIR}/sbin/mkinitcpio + chmod 755 ${DESTDIR}/usr/bin/lsinitcpio ${DESTDIR}/usr/bin/mkinitcpio install -m644 mkinitcpio.conf ${DESTDIR}/etc/mkinitcpio.conf install -m755 -t ${DESTDIR}/lib/initcpio init |