Test for the presence of rpmbuild.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6007 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-01-30 12:40:01 +00:00
parent dce3897888
commit cd6377fc28
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-01-30 Kayvan A. Sylvan <kayvan@sylvan.com>
* Makefile.am: test for the presence of rpmbuild.
2003-01-27 Angus Leeming <leeming@lyx.org>
* UPGRADING: further cleanup following some advice from Dekel.

View File

@ -29,7 +29,12 @@ dist-hook:
rpmdist: dist
ln -s lib/images/lyx.xpm . ; \
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
if [ -z "`type -path rpmbuild`" ]; \
then \
RPMBUILD=rpm; \
else \
RPMBUILD=rpmbuild; \
fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
rm lyx.xpm; exit $$saved_status
bindist: