summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-04-15 11:53:03 +0200
committerHarald Hoyer <harald@redhat.com>2013-04-15 11:53:03 +0200
commit26ab7b07a6c7bff7b62a59ab880e735017076141 (patch)
tree03534a646564e2e4053b1e703351357b5b27db89 /Makefile
parent14499534ba9694591bbcf8741ba7e3a66d71e2d3 (diff)
downloaddracut-26ab7b07a6c7bff7b62a59ab880e735017076141.tar.gz
dracut-26ab7b07a6c7bff7b62a59ab880e735017076141.tar.bz2
dracut-26ab7b07a6c7bff7b62a59ab880e735017076141.zip
Makefile: fixup tarball Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6bda7660..d3798c64 100644
--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,7 @@ dracut-$(VERSION).tar.bz2: doc
git archive --format=tar $(VERSION) --prefix=dracut-$(VERSION)/ > dracut-$(VERSION).tar
mkdir -p dracut-$(VERSION)
cp $(manpages) dracut.html dracut-$(VERSION)
- sed 's/^RELEASEDVERSION =.*/RELEASEDVERSION = $(VERSION)/' Makefile > dracut-$(VERSION)/Makefile
+ git show $(VERSION):Makefile | sed 's/^RELEASEDVERSION =.*/RELEASEDVERSION = $(VERSION)/' > dracut-$(VERSION)/Makefile
tar --owner=root --group=root -rf dracut-$(VERSION).tar dracut-$(VERSION)/*.[0-9] dracut-$(VERSION)/dracut.html dracut-$(VERSION)/Makefile
rm -fr dracut-$(VERSION).tar.bz2 dracut-$(VERSION)
bzip2 -9 dracut-$(VERSION).tar