From f58f1e6d9a3d9e8f31c8bb80e3a422f4312109ba Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Tue, 22 Jul 2008 02:25:00 +0000 Subject: [PATCH] A simple Makefile to easily generate tar balls for distribution --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile 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)/ + + -- 2.39.2