aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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)