]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add default target. cvs/fedora-glibc-2_3_3-55
authorRoland McGrath <roland@gnu.org>
Thu, 23 Sep 2004 01:28:43 +0000 (01:28 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 23 Sep 2004 01:28:43 +0000 (01:28 +0000)
fedora/Makefile

index b8708e27375bd0d6b0bf6a2bbcabf3f48649540e..0a3a97a5a68617d395f2781d3954e7a853d12d69 100644 (file)
@@ -1,5 +1,7 @@
 # Makefile for maintaining glibc fedora-branch and creating Fedora source RPMs.
 
+glibc.spec: # The default target.
+
 tag-prefix := fedora-
 
 .PHONY: update commit-merge commit patch tag archive finish_archive srpm rpm
@@ -47,6 +49,10 @@ glibc.spec: glibc.spec.in ../version.h branch.mk
         cat $<) > $@.new
        mv -f $@.new $@
 
+ifeq (,$(wildcard glibc.spec))
+Makefile: glibc.spec ;
+else
+
 spec-nvr := $(shell rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}\n' \
                        --specfile glibc.spec | sed 1q)
 spec-tag = $(subst .,_,$(spec-nvr))
@@ -95,3 +101,5 @@ $(spec-nvr).src.rpm: glibc.spec $(archives)
                 --define "_specdir `pwd`" \
                 --define "_srcrpmdir `pwd`" \
                 --nodeps -bs $<
+
+endif