From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 25 Jan 2013 14:17:15 +0000 (+0000)
Subject: Let the clean target also take care of patch leftovers
X-Git-Tag: v_3_0_21~91
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/developer-manual/@default-cgi@show-status?a=commitdiff_plain;h=fd2c6b6d080f69a4b21c662e357899bc4f4f8cff;p=privoxy.git

Let the clean target also take care of patch leftovers
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 4306cb3a..3aea0526 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,6 +1,6 @@
 # Note:  Makefile is built automatically from Makefile.in
 #
-# $Id: GNUmakefile.in,v 1.215 2013/01/10 11:03:31 fabiankeil Exp $
+# $Id: GNUmakefile.in,v 1.216 2013/01/10 11:03:58 fabiankeil Exp $
 #
 # Written by and Copyright (C) 2001-2013 members of the
 # Privoxy team. http://www.privoxy.org/
@@ -741,7 +741,8 @@ $(PROGRAM): $(OBJS) $(W32_FILES)
 
 clean:
 	$(RM) a.out $(OBJS) $(W32_FILES) $(W32_INIS) $(PROGRAM) default.action \
-		`find . -name TAGS -o -name tags | $(GREP) -v .git` config.base config.tmp
+		`find . -name TAGS -o -name tags | $(GREP) -v .git` config.base config.tmp \
+		`find . -name "*.orig" -a -not -name rc.privoxy.orig`
 
 clean-editor-files:
 	$(RM) `find . -name "*~"`