aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ee33c77..10205b7 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
PREFIX=/usr
INITDIR=${PREFIX}/lib/init
+VERSION=0.4.1
install:
mkdir -p ${DESTDIR}/etc
@@ -23,3 +24,11 @@ uninstall:
rm -f ${DESTDIR}${INITDIR}/rc.shutdown
rm -f ${DESTDIR}${INITDIR}/rc.lib
rm -f ${DESTDIR}${INITDIR}/README
+
+dist:
+ mkdir -p init-${VERSION}
+ cp LICENSE Makefile README inittab rc.boot rc.conf rc.lib rc.local \
+ rc.shutdown init-${VERSION}
+ tar -cf init-${VERSION}.tar init-${VERSION}
+ gzip init-${VERSION}.tar
+ rm -rf init-${VERSION}