Let the clean target also take care of patch leftovers
[privoxy.git] / GNUmakefile.in
index 4306cb3..3aea052 100644 (file)
@@ -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 "*~"`