rpms/kernel/devel Makefile,1.109,1.110

Chuck Ebbert cebbert at fedoraproject.org
Wed Sep 23 14:30:43 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3552

Modified Files:
	Makefile 
Log Message:
add unused-kernel-patches target


Index: Makefile
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/Makefile,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -p -r1.109 -r1.110
--- Makefile	14 Sep 2009 21:33:53 -0000	1.109
+++ Makefile	23 Sep 2009 14:30:33 -0000	1.110
@@ -138,6 +138,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