ppcrcd/trunk: Makefile add.pkgs
sparky
cvs at pld-linux.org
Mon Jan 23 22:32:10 CET 2006
Author: sparky
Date: Mon Jan 23 22:32:06 2006
New Revision: 6884
Modified:
ppcrcd/trunk/Makefile
ppcrcd/trunk/add.pkgs
Log:
- 3 rules for make my life easy
Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile (original)
+++ ppcrcd/trunk/Makefile Mon Jan 23 22:32:06 2006
@@ -198,6 +198,10 @@
$(INSTOPTS-$(notdir $@)) --define="_install_langs %{nil}"
sleep 1 && touch $@
+.PHONY: %.rpm
+%.rpm: out/rpm/rpms/%
+
+
out/rpm/rpms/%:
@#XXX every package neads something like: $(R)/setup: $(P)/setup
#######################################################################
@@ -260,6 +264,14 @@
specsup:
cd out/rpm/SPECS && cvs up
+.PHONY: updist
+updist:
+ $(SU) poldek -s out/rpm/RPMS --upgrade-dist
+
+.PHONY: %.up
+%.up:
+ $(SU) poldek -s out/rpm/RPMS -u $(subst .up,,$@)
+
clean:
@echo use one of: distclean clean-all clean-inst clean-root clean-img clean-yaboot
Modified: ppcrcd/trunk/add.pkgs
==============================================================================
--- ppcrcd/trunk/add.pkgs (original)
+++ ppcrcd/trunk/add.pkgs Mon Jan 23 22:32:06 2006
@@ -95,6 +95,7 @@
#I += john
# +mmx
+$(R)/john: $(P)/john
I += words
$(R)/words: $(P)/words
More information about the pld-cvs-commit
mailing list