aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-18 15:46:29 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-18 15:46:29 +0000
commit56634d0c82b412e1c34507ef287342b9e79aabc6 (patch)
tree779946d2fbe9861e3cff78baae6071ffe2d20ace
parent223d5b19a2f3aa91adc822a87bd8418192712f09 (diff)
downloadtermo-56634d0c82b412e1c34507ef287342b9e79aabc6.tar.gz
termo-56634d0c82b412e1c34507ef287342b9e79aabc6.tar.xz
termo-56634d0c82b412e1c34507ef287342b9e79aabc6.zip
Also added 'make dist' target to build distribution tarball
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 74ae4da..1efb608 100644
--- a/Makefile
+++ b/Makefile
@@ -88,3 +88,9 @@ distdir: all
cp *.c *.h *.3 $(DISTDIR)
cp *.pc.in $(DISTDIR)
sed "/^# DIST CUT/Q" <Makefile >$(DISTDIR)/Makefile
+
+TARBALL=$(DISTDIR).tar.bz2
+
+dist: distdir
+ tar -cjf $(TARBALL) $(DISTDIR)
+ rm -rf $(DISTDIR)