Added dist command to the Makefile

Thu, 30 Jan 2014 15:20:46 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 30 Jan 2014 15:20:46 +0100
changeset 1
96a14c72b423
parent 0
d4d23e51be4f
child 2
7c794ae9f4de

Added dist command to the Makefile

Makefile file | annotate | diff | comparison | revisions
--- a/Makefile	Thu Jan 30 14:46:10 2014 +0100
+++ b/Makefile	Thu Jan 30 15:20:46 2014 +0100
@@ -15,3 +15,5 @@
 	@mkdir -p ${DESTDIR}/etc/rc.d
 	cd ${DESTDIR}/etc/rc.d ; ln -s /usr/sbin/mbse-firewall rc.firewall ; cd -
 
+dist:
+	cd .. ; tar cvfz mbse-firewall-`grep MBSEFW_VERSION= mbse-firewall/sbin/mbse-firewall | cut -d '=' -f 2 | tr -d '"'`.tar.gz mbse-firewall/* ; cd -

mercurial