rpms/kernel/F-11 Makefile,1.103,1.104
Chuck Ebbert
cebbert at fedoraproject.org
Thu Sep 24 16:16:35 UTC 2009
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18411
Modified Files:
Makefile
Log Message:
add unused-kernel-patches target
Index: Makefile
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/Makefile,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -p -r1.103 -r1.104
--- Makefile 25 Jul 2009 03:16:38 -0000 1.103
+++ Makefile 24 Sep 2009 16:16:35 -0000 1.104
@@ -136,6 +136,9 @@ reconfig:
force-tag: $(SPECFILE) $(COMMON_DIR)/branches
@$(MAKE) tag TAG_OPTS="-F $(TAG_OPTS)"
+unused-kernel-patches:
+ @for f in *.patch; do if [ -e $$f ]; then (egrep -q "^Patch[[:digit:]]+:[[:space:]]+$$f" $(SPECFILE) || echo "Unused: $$f") && egrep -q "^ApplyPatch[[:space:]]+$$f|^ApplyOptionalPatch[[:space:]]+$$f" $(SPECFILE) || echo "Unapplied: $$f"; fi; done
+
# since i386 isn't a target...
compile compile-short: DIST_DEFINES += --target $(shell uname -m)
More information about the fedora-extras-commits
mailing list