aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-18 21:04:42 +0300
committerCem Keylan <cem@ckyln.com>2019-12-18 21:04:42 +0300
commit54d7bde90161b3e01a5e15260d08e79f39096fec (patch)
tree115c5be853dc5a3be418c75dc4d9d5f3095a874c /Makefile
parent758d2e63839218d68b1a78a9571a263f58640a2d (diff)
downloadinit-54d7bde90161b3e01a5e15260d08e79f39096fec.tar.gz
add makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..41eacf1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+# See license for licensing details
+
+PREFIX=/usr
+
+install:
+ @install -Dm644 inittab ${DESTDIR}/etc/inittab
+ @install -Dm755 rc.boot ${DESTDIR}${PREFIX}/lib/init/rc.boot
+ @install -Dm755 rc.shutdown ${DESTDIR}${PREFIX}/lib/init/rc.shutdown
+
+uninstall:
+ @rm -f ${DESTDIR}/etc/inittab
+ @rm -f ${DESTDIR}${PREFIX}/lib/init/rc.boot
+ @rm -f ${DESTDIR}${PREFIX}/lib/init/rc.shutdown
+