aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-13 16:09:52 +0300
committerCem Keylan <cem@ckyln.com>2020-01-13 16:09:52 +0300
commit829d56ed67ede66c7bff3276c683325a273064dc (patch)
tree593319f1d57c7827075cd06c754c4dd13ff21d16 /Makefile
parent6d8bc8e71f484d8685e705b364bdda9d5d4aa219 (diff)
downloadinit-829d56ed67ede66c7bff3276c683325a273064dc.tar.gz
Makefile: add dist and bump to 0.4.10.4.1
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}