aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-14 12:53:15 +0300
committerCem Keylan <cem@ckyln.com>2020-02-14 12:53:15 +0300
commit0f5f911d9f5471ab8f27f5bb61d015c4961ca92d (patch)
treefe023e1150bbcb87ba5724a4e18d2699388d9947 /Makefile
parent5d62e2705368673301827afe5dc53991b58fc414 (diff)
downloadinit-0f5f911d9f5471ab8f27f5bb61d015c4961ca92d.tar.gz
install getty.boot for unifying the launch of getty
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2ed957b..ead3b90 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,14 @@
# See license for licensing details
-PREFIX=/usr
-INITDIR=${PREFIX}/lib/init
-VERSION=0.5.0
+PREFIX = /usr
+INITDIR = ${PREFIX}/lib/init
+VERSION = 0.5.1
install:
mkdir -p ${DESTDIR}/etc
install -Dm644 rc.conf ${DESTDIR}/etc/init/rc.conf
install -Dm644 rc.lib ${DESTDIR}${INITDIR}/rc.lib
+ install -Dm644 -t ${DESTDIR}/etc/init/ contrib/getty.boot
install -Dm755 rc.local ${DESTDIR}/etc/init/rc.local
sed 's#INITDIR#${INITDIR}#g' < rc.boot > ${DESTDIR}${INITDIR}/rc.boot
sed 's#INITDIR#${INITDIR}#g' < rc.shutdown > ${DESTDIR}${INITDIR}/rc.shutdown
@@ -17,6 +18,7 @@ install:
uninstall:
rm -f ${DESTDIR}/etc/init/rc.conf
rm -f ${DESTDIR}/etc/init/rc.local
+ rm -f ${DESTDIR}/etc/init/getty.boot
rm -f ${DESTDIR}${INITDIR}/rc.boot
rm -f ${DESTDIR}${INITDIR}/rc.shutdown
rm -f ${DESTDIR}${INITDIR}/rc.lib