From: Axel Beckert Date: Tue, 22 Jul 2008 02:25:00 +0000 (+0000) Subject: A simple Makefile to easily generate tar balls for distribution X-Git-Tag: debian/2.1.2-2~36 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=f58f1e6d9a3d9e8f31c8bb80e3a422f4312109ba;p=pkg%2Fblosxom.git A simple Makefile to easily generate tar balls for distribution --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1bd0d40 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +VERSION=$(shell head -1 ChangeLog | sed -e s/v//) + +dist: + rm -rf ../blosxom-$(VERSION)/ + mkdir ../blosxom-$(VERSION) + cp -priv * ../blosxom-$(VERSION)/ + cd .. && tar cvzf blosxom-$(VERSION).tar.gz --exclude=CVS --exclude='*~' --exclude=".??*" --exclude="#*#" --exclude="*.t" blosxom-$(VERSION)/ + rm -rf ../blosxom-$(VERSION)/ + +