docs-common Makefile.common,1.126,1.127
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Thu Aug 3 18:20:30 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11980
Modified Files:
Makefile.common
Log Message:
Oops, don't forget to make that dependent on whether the SPECFILE exists.
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -r1.126 -r1.127
--- Makefile.common 3 Aug 2006 18:18:17 -0000 1.126
+++ Makefile.common 3 Aug 2006 18:20:28 -0000 1.127
@@ -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 @@
# 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 @@
RELEASE := $(shell rpm ${RPMFLAGS} ${DISTRPMFLAGS} -q --qf "%{RELEASE}\n" \
--specfile ${SPECFILE} | head -1)
endif
+endif
#########################################################################
More information about the Fedora-docs-commits
mailing list