pjones wrote:
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
Actually, I think you pretty much always want "master" rather than
"origin/master" here.
+ @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
--
Peter
When privacy is outlawed only outlaws will have privacy.
-- Zimmermann
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list