docs-common Makefile.common,1.140,1.141
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Mon Aug 28 01:56:48 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30444
Modified Files:
Makefile.common
Log Message:
Add REVDATE variable for later use with OMF and other packaging bits
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- Makefile.common 27 Aug 2006 21:36:31 -0000 1.140
+++ Makefile.common 28 Aug 2006 01:56:45 -0000 1.141
@@ -277,11 +277,16 @@
RELEASE := $(shell rpm ${RPMFLAGS} ${DISTRPMFLAGS} -q --qf "%{RELEASE}\n" \
--specfile ${SPECFILE} | head -1)
endif
+# the last revision date of the package, according to rpm-info
+ifndef REVDATE
+REVDATE := $(shell date doc)
+endif
showvars::
@echo "VERSION=$(VERSION)"
@echo "RELEASE=$(RELEASE)"
@echo "PWD=$(PWD)"
+ @echo "REVDATE=${REVDATE}"
# CVS-safe version/release -- a package name like 4Suite screws things
# up, so we have to remove the leaving digits from the name
More information about the Fedora-docs-commits
mailing list