aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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
+