rpms/perl-JSON Makefile,1.1,1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Wed Apr 25 20:27:02 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-JSON
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13519

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


Index: Makefile
===================================================================
RCS file: /cvs/extras/rpms/perl-JSON/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	25 Apr 2007 19:38:44 -0000	1.1
+++ Makefile	25 Apr 2007 20:26:27 -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