From: Harald Hoyer Date: Mon, 15 Apr 2013 09:53:03 +0000 (+0200) Subject: Makefile: fixup tarball Makefile X-Git-Tag: 028~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26ab7b07a6c7bff7b62a59ab880e735017076141;p=platform%2Fupstream%2Fdracut.git Makefile: fixup tarball Makefile --- diff --git a/Makefile b/Makefile index 6bda766..d3798c6 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