Blame 0026-Makefile-fixup-tarball-Makefile.patch
|
Harald Hoyer |
adf00e |
From 26ab7b07a6c7bff7b62a59ab880e735017076141 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
adf00e |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
adf00e |
Date: Mon, 15 Apr 2013 11:53:03 +0200
|
|
Harald Hoyer |
adf00e |
Subject: [PATCH] Makefile: fixup tarball Makefile
|
|
Harald Hoyer |
adf00e |
|
|
Harald Hoyer |
adf00e |
---
|
|
Harald Hoyer |
adf00e |
Makefile | 2 +-
|
|
Harald Hoyer |
adf00e |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
adf00e |
|
|
Harald Hoyer |
adf00e |
diff --git a/Makefile b/Makefile
|
|
Harald Hoyer |
adf00e |
index 6bda766..d3798c6 100644
|
|
Harald Hoyer |
adf00e |
--- a/Makefile
|
|
Harald Hoyer |
adf00e |
+++ b/Makefile
|
|
Harald Hoyer |
adf00e |
@@ -158,7 +158,7 @@ dracut-$(VERSION).tar.bz2: doc
|
|
Harald Hoyer |
adf00e |
git archive --format=tar $(VERSION) --prefix=dracut-$(VERSION)/ > dracut-$(VERSION).tar
|
|
Harald Hoyer |
adf00e |
mkdir -p dracut-$(VERSION)
|
|
Harald Hoyer |
adf00e |
cp $(manpages) dracut.html dracut-$(VERSION)
|
|
Harald Hoyer |
adf00e |
- sed 's/^RELEASEDVERSION =.*/RELEASEDVERSION = $(VERSION)/' Makefile > dracut-$(VERSION)/Makefile
|
|
Harald Hoyer |
adf00e |
+ git show $(VERSION):Makefile | sed 's/^RELEASEDVERSION =.*/RELEASEDVERSION = $(VERSION)/' > dracut-$(VERSION)/Makefile
|
|
Harald Hoyer |
adf00e |
tar --owner=root --group=root -rf dracut-$(VERSION).tar dracut-$(VERSION)/*.[0-9] dracut-$(VERSION)/dracut.html dracut-$(VERSION)/Makefile
|
|
Harald Hoyer |
adf00e |
rm -fr dracut-$(VERSION).tar.bz2 dracut-$(VERSION)
|
|
Harald Hoyer |
adf00e |
bzip2 -9 dracut-$(VERSION).tar
|