From ff9e0dc82308dbff1f08955eacecc4b4fb4d1839 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 23 Sep 2004 01:28:43 +0000 Subject: Add default target. --- fedora/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3