docs-common Makefile.common,1.107,1.108
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Tue Apr 11 20:05:25 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv544
Modified Files:
Makefile.common
Log Message:
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.
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- Makefile.common 11 Apr 2006 20:03:23 -0000 1.107
+++ Makefile.common 11 Apr 2006 20:05:22 -0000 1.108
@@ -823,13 +823,11 @@
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
More information about the Fedora-docs-commits
mailing list