1.1 --- a/Makefile.am Tue Jun 14 10:18:12 2005 +0000
1.2 +++ b/Makefile.am Tue Jun 14 10:26:37 2005 +0000
1.3 @@ -2,6 +2,7 @@
1.4
1.5 EXTRA_DIST = \
1.6 LICENSE \
1.7 + lemon.spec \
1.8 autopackage/default.apspec.in \
1.9 config/cxxflags.m4 \
1.10 config/lp.m4 \
1.11 @@ -52,4 +53,16 @@
1.12 $(MAKE) $(AM_MAKEFLAGS) maintainer-clean
1.13 -rm -f $(MRPROPERFILES)
1.14
1.15 -.PHONY: doc benchmark mrproper
1.16 +rpm: dist
1.17 + rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
1.18 + @rm -f $(PACKAGE)-$(VERSION).tar.gz
1.19 +
1.20 +dist-bz2: dist
1.21 + zcat $(PACKAGE)-$(VERSION).tar.gz | \
1.22 + bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
1.23 +
1.24 +distcheck-bz2: distcheck
1.25 + zcat $(PACKAGE)-$(VERSION).tar.gz | \
1.26 + bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
1.27 +
1.28 +.PHONY: doc benchmark mrproper rpm dist-bz2 distcheck-bz2