Also added 'make dist' target to build distribution tarball
This commit is contained in:
parent
223d5b19a2
commit
56634d0c82
6
Makefile
6
Makefile
|
@ -88,3 +88,9 @@ distdir: all
|
||||||
cp *.c *.h *.3 $(DISTDIR)
|
cp *.c *.h *.3 $(DISTDIR)
|
||||||
cp *.pc.in $(DISTDIR)
|
cp *.pc.in $(DISTDIR)
|
||||||
sed "/^# DIST CUT/Q" <Makefile >$(DISTDIR)/Makefile
|
sed "/^# DIST CUT/Q" <Makefile >$(DISTDIR)/Makefile
|
||||||
|
|
||||||
|
TARBALL=$(DISTDIR).tar.bz2
|
||||||
|
|
||||||
|
dist: distdir
|
||||||
|
tar -cjf $(TARBALL) $(DISTDIR)
|
||||||
|
rm -rf $(DISTDIR)
|
||||||
|
|
Loading…
Reference in New Issue