docs-common Makefile.common,1.46,1.47

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Feb 7 21:59:41 UTC 2006


Author: pfrields

Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22249

Modified Files:
	Makefile.common 
Log Message:
Do the right thing if there's no RPM revision yet for this doc


Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- Makefile.common	7 Feb 2006 21:48:12 -0000	1.46
+++ Makefile.common	7 Feb 2006 21:59:34 -0000	1.47
@@ -376,6 +376,10 @@
 	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)




More information about the Fedora-docs-commits mailing list