rpms/perl-Template-Timer Makefile,1.1,1.2

Chris Weyl cweyl at fedoraproject.org
Tue Mar 18 19:43:44 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-Template-Timer
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7640

Modified Files:
	Makefile 
Log Message:
add build-all target to overall makefile of perl-Template-Timer


Index: Makefile
===================================================================
RCS file: /cvs/extras/rpms/perl-Template-Timer/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	18 Mar 2008 17:39:39 -0000	1.1
+++ Makefile	18 Mar 2008 19:43:10 -0000	1.2
@@ -2,6 +2,15 @@
 all : CVS/Root common-update
 	@cvs update
 
+# for target build-all
+BRANCHES := $(shell cat ~/projects/fedora/current-branches | sed -e 's/:.*//')
+
+# tag & build all non-legacy branches...
+build-all : common-update
+	@echo NOTICE: building for ${BRANCHES}
+	@sleep 5s
+	@for br in ${BRANCHES} ; do echo Building $$br ; cd $$br && test -f dead.package || make tag build ; cd .. ; done
+
 common-update : common
 	@cd common && cvs update
 




More information about the Fedora-perl-devel-list mailing list