From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 8 May 2016 10:48:19 +0000 (+0000)
Subject: Make the 'clean' target faster when run from a git repository
X-Git-Tag: v_3_0_25~33
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/user-manual/@default-cgi@send-stylesheet?a=commitdiff_plain;h=dead25538ae04c753b79146fcd69d6fa2d1ef8b9;p=privoxy.git

Make the 'clean' target faster when run from a git repository
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index aa4336b0..da1b0ccd 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,6 +1,6 @@
 # Note:  GNUmakefile is built automatically from GNUmakefile.in
 #
-# $Id: GNUmakefile.in,v 1.247 2016/05/08 10:44:09 fabiankeil Exp $
+# $Id: GNUmakefile.in,v 1.248 2016/05/08 10:44:20 fabiankeil Exp $
 #
 # Written by and Copyright (C) 2001-2016 members of the
 # Privoxy team. https://www.privoxy.org/
@@ -731,8 +731,8 @@ $(PROGRAM): $(OBJS) $(W32_FILES)
 clean:
 	$(RM) a.out $(OBJS) $(W32_FILES) $(W32_INIS) $(PROGRAM) default.action \
 		config.base config.tmp \
-		`find . \( -name TAGS -o -name tags \) -and -not -path "./.git/refs/tags"` \
-		`find . -name "*.orig" -a -not -name rc.privoxy.orig`
+		`find . \( -name TAGS -o -name tags \) -a -not -path "./.git/*"` \
+		`find . -name "*.orig" -a -not -name rc.privoxy.orig -a -not -path "./.git/*"`
 
 clean-editor-files:
 	$(RM) `find . -name "*~"`