A simple Makefile to easily generate tar balls for distribution
authorAxel Beckert <xtaran@users.sourceforge.net>
Tue, 22 Jul 2008 02:25:00 +0000 (02:25 +0000)
committerAxel Beckert <xtaran@users.sourceforge.net>
Tue, 22 Jul 2008 02:25:00 +0000 (02:25 +0000)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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)/
+
+