diff options
author | Paul W. Frields <stickster@gmail.com> | 2006-08-03 18:20:28 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2006-08-03 18:20:28 +0000 |
commit | 2f534e829a3da7b5fcf378d60a6f0ac472040df3 (patch) | |
tree | f304c871521ef35225271eb75652b24d1b2e9f1b | |
parent | 0530ceb2ba166e07ad26a827cb5c908e9ae6d2cc (diff) | |
download | fedora-doc-utils-2f534e829a3da7b5fcf378d60a6f0ac472040df3.tar.gz fedora-doc-utils-2f534e829a3da7b5fcf378d60a6f0ac472040df3.tar.xz fedora-doc-utils-2f534e829a3da7b5fcf378d60a6f0ac472040df3.zip |
Oops, don't forget to make that dependent on whether the SPECFILE exists.
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common index 590dd3e..9e60f7a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,5 +1,3 @@ -For more information on using the Fedora source code repositories, -please visit http://fedoraproject.org/wiki/UsingCvs ######################################################################### # Makefile.common # @@ -178,6 +176,7 @@ endif # Obtain the document version and release info for building RPM's SPECFILE=$(firstword $(wildcard *.spec)) +ifneq "${SPECFILE}" "" # the name of the package ifndef NAME NAME := $(shell rpm ${RPMFLAGS} ${DISTRPMFLAGS} -q --qf "%{NAME}\n" \ @@ -193,6 +192,7 @@ ifndef RELEASE RELEASE := $(shell rpm ${RPMFLAGS} ${DISTRPMFLAGS} -q --qf "%{RELEASE}\n" \ --specfile ${SPECFILE} | head -1) endif +endif ######################################################################### |