summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5e94da9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+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)/
+
+test:
+ prove -v t/*.t
+
+tidycheck:
+ perltidy blosxom.cgi | diff -u blosxom.cgi -
+