ppcrcd/trunk/Makefile

sparky cvs at pld-linux.org
Wed Jan 11 12:18:39 CET 2006


Author: sparky
Date: Wed Jan 11 12:18:34 2006
New Revision: 6793

Modified:
   ppcrcd/trunk/Makefile
Log:
- clean BUILD dir after each package build
- add specsup rule


Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile	(original)
+++ ppcrcd/trunk/Makefile	Wed Jan 11 12:18:34 2006
@@ -12,6 +12,7 @@
 R = out/rpm/rpms
 P = out/rpm/prep
 
+.PHONY:	all
 all:	out/ppcrcd.iso
 	
 include base.pkgs
@@ -216,6 +217,7 @@
 			sed -e 's at .*/@@g' -e 's/-[^-]*-[^-]*$$//'`;	\
 	done
 	rm buildout EXIT
+	-rm -r out/rpm/BUILD/*
 	$(if $(NOTEQ-$(notdir $(firstword $^))), rm -f \
 		out/touch/$(NOTEQ-$(notdir $(firstword $^))),#)
 	sleep 1 && touch $@
@@ -254,6 +256,9 @@
 	LANGUAGE= LANG= LC_ALL=C rpm --root=$(PWD)/$(root_inst) -qa \
 		--queryformat="<b>%{NAME}</b>(%{EPOCH}:%{VERSION}-%{RELEASE})ľ\t<i>%{SUMMARY}</i>\n" | sort | tr "ľ" "\n" > $@
 
+.PHONY:	specsup
+specsup:
+	cd out/rpm/SPECS && cvs up
 
 clean:
 	@echo use one of: distclean clean-all clean-inst clean-root clean-img clean-yaboot


More information about the pld-cvs-commit mailing list