Also added 'make dist' target to build distribution tarball

This commit is contained in:
Paul LeoNerd Evans 2008-11-18 15:46:29 +00:00
parent 223d5b19a2
commit 56634d0c82
1 changed files with 6 additions and 0 deletions

View File

@ -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)