FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-03-2009, 06:12 PM
"pjones"
 
Default Add "scratch" target that builds a tarball of origin/master .

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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org