summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2006-12-14 15:21:00 +0900
committerSimon Horman <horms@verge.net.au>2006-12-14 15:21:00 +0900
commitee4614d63649e10f80a4d8475721704a4c75f6b6 (patch)
treec31d1e1118e4c269efaa4b8e62898ca9fbf8db30
parent25d012d48862162f226a3235c21d5af2214bcbc1 (diff)
Put .spec file inside the release directory
The .spec file was being placed in the root of tarballs, it really ought to be inside the release directory along with everything else. I actually think this might fix the rpm target too :) Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4dbf6b2..811e864 100644
--- a/Makefile
+++ b/Makefile
@@ -92,8 +92,8 @@ ifeq ($(ARCH),x86_64)
include kexec_test/Makefile
endif
-GENERATED_SRCS:= ./configure
-SPEC=$(OBJDIR)/$(PACKAGE)-$(VERSION).spec
+SPEC=$(PACKAGE).spec
+GENERATED_SRCS:= ./configure ./$(SPEC)
TARBALL=$(OBJDIR)/$(PACKAGE)-$(VERSION).tar.gz
SRCS:=$(shell $(FIND) \
./AUTHORS ./COPYING ./News ./TODO \
@@ -104,7 +104,6 @@ SRCS:=$(shell $(FIND) \
-type f -print )
SRCS+=$(GENERATED_SRCS)
PSRCS:=$(patsubst ./%,$(PACKAGE)-$(VERSION)/%,$(SRCS))
-PSRCS+=$(PACKAGE)-$(VERSION).spec
Makefile.conf: Makefile.conf.in configure
/bin/sh ./configure