summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-08-28 01:56:45 +0000
committerPaul W. Frields <stickster@gmail.com>2006-08-28 01:56:45 +0000
commit92f7b1814a0d2d6135a2e828d84e11c9357ca72e (patch)
treedafd08ec49f50d09b16f1c9c7acc1ad0afe37dbe /Makefile.common
parent9471915b24a84e921cd7264408e2f8909c3af79c (diff)
downloadfedora-doc-utils-92f7b1814a0d2d6135a2e828d84e11c9357ca72e.tar.gz
fedora-doc-utils-92f7b1814a0d2d6135a2e828d84e11c9357ca72e.tar.xz
fedora-doc-utils-92f7b1814a0d2d6135a2e828d84e11c9357ca72e.zip
Add REVDATE variable for later use with OMF and other packaging bits
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index fe27b63..e6d6370 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -277,11 +277,16 @@ ifndef RELEASE
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