summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-04-11 20:05:22 +0000
committerPaul W. Frields <stickster@gmail.com>2006-04-11 20:05:22 +0000
commita9deaed3546a38b10436caddc861d256f5620c43 (patch)
treef40ef1bc68d02109d29bd9161d1f2495a3c82300 /Makefile.common
parentb2cec90aed5d092c1d45ba7bc778890224e52db1 (diff)
downloadfedora-doc-utils-a9deaed3546a38b10436caddc861d256f5620c43.tar.gz
fedora-doc-utils-a9deaed3546a38b10436caddc861d256f5620c43.tar.xz
fedora-doc-utils-a9deaed3546a38b10436caddc861d256f5620c43.zip
This fix makes sure that any RPM build happens off the newest doc revision, and notates it properly in the rpm-info.xml file. This might be a little hand-holdy but I like the idea that we encourage proper procedure when possible.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common
index f190fa8..b85cb69 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -823,13 +823,11 @@ package-prep::
cp -f *.omf *.desktop rpm/SOURCES
rpm-common::
- if test $(shell get_latest_revision rpm) = 0 ; then \
+ if test $(shell get_latest_revision rpm) -eq 0 ; then \
V=$(shell get_latest_revision doc) ; \
echo "*** Creating revision log entry for rpm ***" ; \
ROLE=rpm ID=1 DETAILS="Update to version $$V" \
$(MAKE) clog ; \
- else \
- ROLE=rpm ID=1 $(MAKE) clog ; \
fi
${RM} *.rpm
if test $(RPMPREP) != "no" ; then ${MAKE} package-prep ; fi