diff options
author | Roland McGrath <roland@gnu.org> | 2004-09-23 01:28:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-09-23 01:28:43 +0000 |
commit | ff9e0dc82308dbff1f08955eacecc4b4fb4d1839 (patch) | |
tree | 2a2580cc08e7a529d787188484c54e8c36f919f9 | |
parent | 5d44b2ea7262b1c231d12a2c42872c83314fce8a (diff) | |
download | glibc-ff9e0dc82308dbff1f08955eacecc4b4fb4d1839.tar.gz glibc-ff9e0dc82308dbff1f08955eacecc4b4fb4d1839.tar.xz glibc-ff9e0dc82308dbff1f08955eacecc4b4fb4d1839.zip |
Add default target. cvs/fedora-glibc-2_3_3-55
-rw-r--r-- | fedora/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fedora/Makefile b/fedora/Makefile index b8708e2737..0a3a97a5a6 100644 --- a/fedora/Makefile +++ b/fedora/Makefile @@ -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 |