summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-02-07 21:59:34 +0000
committerPaul W. Frields <stickster@gmail.com>2006-02-07 21:59:34 +0000
commitd8686b6b748fa9a1ad2bdb069e201e62008efd08 (patch)
tree813b0ecac47c9b8e7ddec289b349909a7c6fd0c4 /Makefile.common
parent613e700c16e1218d3b4d9af80ff66cd0946f6155 (diff)
downloadfedora-doc-utils-d8686b6b748fa9a1ad2bdb069e201e62008efd08.tar.gz
fedora-doc-utils-d8686b6b748fa9a1ad2bdb069e201e62008efd08.tar.xz
fedora-doc-utils-d8686b6b748fa9a1ad2bdb069e201e62008efd08.zip
Do the right thing if there's no RPM revision yet for this doc
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 2d236eb..8a91c77 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -376,6 +376,10 @@ package-prep::
cp -f *.omf *.desktop rpm/SOURCES
rpm::
+ if test $(shell get_latest_revision rpm) = 0 ; then \
+ echo "*** Creating revision log entry for rpm ***" ; \
+ ROLE=rpm $(MAKE) clog ; \
+ fi
${RM} *.rpm
${MAKE} package-prep
rpmbuild -ba $(RPMDFLAG) $(RPMFLAGS) rpm/SPECS/$(SPECFILE)