ppcrcd/trunk: Makefile noinst.pkgs
sparky
cvs at pld-linux.org
Thu Feb 9 03:40:15 CET 2006
Author: sparky
Date: Thu Feb 9 03:40:11 2006
New Revision: 6956
Modified:
ppcrcd/trunk/Makefile
ppcrcd/trunk/noinst.pkgs
Log:
- cleanRPMS and hardcleanRPMS rules added, for cleaning unused rpm packages
Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile (original)
+++ ppcrcd/trunk/Makefile Thu Feb 9 03:40:11 2006
@@ -301,6 +301,21 @@
clean-yaboot:
make -C yaboot clean
+cleanRPMS:
+ LIST=$$(ls out/rpm/RPMS/); \
+ for FILE in out/rpm/rpms/*; do \
+ LIST=$$(echo $$LIST | sed "s/$$(cat $$FILE)//"); \
+ done; \
+ cd out/rpm/RPMS/ && du -shc $$LIST && rm -v $$LIST
+
+hardcleanRPMS:
+ LIST=$$(ls out/rpm/RPMS/); \
+ for F in $(I) $(ADD); do \
+ [ -n "$$(cat out/rpm/rpms/$$F)" ] && \
+ LIST=$$(echo $$LIST | sed "s/$$(cat out/rpm/rpms/$$F)//"); \
+ done; \
+ cd out/rpm/RPMS/ && du -shc $$LIST && rm -v $$LIST
+
# don't delete anything
.SECONDARY:
Modified: ppcrcd/trunk/noinst.pkgs
==============================================================================
--- ppcrcd/trunk/noinst.pkgs (original)
+++ ppcrcd/trunk/noinst.pkgs Thu Feb 9 03:40:11 2006
@@ -2,6 +2,7 @@
$(R)/libol $(R)/libol-static: $(P)/libol
+ADD += gcc gcc-c++
REV-gcc = GCC_4_1
BCOND-gcc = --without ada --without fortran --without java --without objc --without objcxx
#-ada -fortran -java -objc -objcxx +multilib +profiling -bootstrap +tests
@@ -9,12 +10,6 @@
$(R)/linux-libc-headers: $(P)/linux-libc-headers
-$(R)/perl-DB_File: $(P)/perl-DB_File
-
-$(R)/perl-MLDBM: $(P)/perl-MLDBM
-
-$(R)/perl-FreezeThaw: $(P)/perl-FreezeThaw
-
REV-uClibc = DEVEL
$(R)/uClibc: $(P)/uClibc
More information about the pld-cvs-commit
mailing list