From dead25538ae04c753b79146fcd69d6fa2d1ef8b9 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 8 May 2016 10:48:19 +0000 Subject: [PATCH] Make the 'clean' target faster when run from a git repository --- GNUmakefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 "*~"` -- 2.39.2