rpms/perl-CGI-Ajax Makefile,1.1,1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Mon Apr 16 16:05:26 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-CGI-Ajax
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8845

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


Index: Makefile
===================================================================
RCS file: /cvs/extras/rpms/perl-CGI-Ajax/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	16 Apr 2007 15:49:45 -0000	1.1
+++ Makefile	16 Apr 2007 16:04:52 -0000	1.2
@@ -2,6 +2,15 @@
 all : CVS/Root common-update
 	@cvs update
 
+# for target build-all
+BRANCHES := $(shell cat ~/fedora-extras/current-branches | sed -e 's/:.*//')
+
+# tag & build all non-legacy branches...
+build-all :
+	@echo NOTICE: building for ${BRANCHES}
+	@sleep 5s
+	@for br in ${BRANCHES} ; do echo Building $$br ; cd $$br && test -f dead.package || make tag plague ; cd .. ; done
+
 common-update : common
 	@cd common && cvs update
 




More information about the scm-commits mailing list