summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAmeya Palande <2ameya@gmail.com>2010-03-18 22:03:20 +0200
committerSimon Horman <horms@verge.net.au>2010-03-24 22:28:26 +1100
commit1d469cf3f8c24e9441b805c33cd7f068a139274d (patch)
tree557a4b79b440d46dfc1cbbd03484627ef266ff97 /Makefile.in
parent493b95471163dc842420c5a27200923f1c632552 (diff)
downloadkexec-tools-1d469cf3f8c24e9441b805c33cd7f068a139274d.tar.gz
kexec-tools: Use same source in rpm spec and Makefile.in
Signed-off-by: Ameya Palande <ameya.palande@nokia.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index cb0faae..3532457 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -202,7 +202,7 @@ $(TARBALL.gz): $(TARBALL)
gzip -c < $^ > $@
RPMDIR=rpm
-rpm: $(TARBALL)
+rpm: $(TARBALL.gz)
$(MKDIR) -p $(RPMDIR)/RPM $(RPMDIR)/SRPM $(RPMDIR)/BUILD \
$(RPMDIR)/SPECS $(RPMDIR)/TMP $(RPMDIR)/SOURCES
unset MAKEFLAGS MAKELEVEL; \
@@ -213,7 +213,7 @@ rpm: $(TARBALL)
--define '_specdir $(RPMDIR)/SPECS' \
--define '_tmppath $(RPMDIR)/TMP' \
--define '_sourcedir $(RPMDIR)/SOURCES' \
- $(TARBALL)
+ $(TARBALL.gz)
$(SPEC): kexec-tools.spec.in Makefile
$(SED) -e 's,^Version: $$,Version: $(PACKAGE_VERSION),' $< > $@