[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Add "scratch" target that builds a tarball of origin/master .
- From: "pjones" <pjones redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Add "scratch" target that builds a tarball of origin/master .
- Date: Tue, 3 Mar 2009 14:12:15 -0500
Since "archive-no-tag" isn't very useful for test builds, add another
tarball-making target that just builds whatever is in origin/master.
---
Makefile | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index af32721..17a8fe8 100644
--- a/Makefile
+++ b/Makefile
@@ -120,6 +120,18 @@ archive-no-tag:
@bzip2 -f anaconda-$(VERSION).tar
@rm -rf anaconda-$(VERSION)
+scratch:
+ @rm -f ChangeLog docs/kickstart-docs.txt docs/command-line.txt
+ @make ChangeLog
+ @make -C docs kickstart-docs.txt command-line.txt
+ @git archive --format=tar --prefix=anaconda-$(VERSION)/ origin/master > anaconda-$(VERSION).tar
+ @mkdir -p anaconda-$(VERSION)/docs/
+ @cp docs/kickstart-docs.txt docs/command-line.txt anaconda-$(VERSION)/docs/
+ @cp ChangeLog anaconda-$(VERSION)/
+ @tar --append -f anaconda-$(VERSION).tar anaconda-$(VERSION)
+ @bzip2 -f anaconda-$(VERSION).tar
+ @rm -rf anaconda-$(VERSION)
+
archive:
@make tag
@make archive-no-tag
--
1.6.0.1
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]