From 5c6e6e02171bc7ab75e626d97e4deba5c4c322ad Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 25 Jan 2013 14:17:35 +0000 Subject: [PATCH] Rephrase a find command so all the files found can be deleted --- GNUmakefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index 3aea0526..99a9e67e 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,6 +1,6 @@ # Note: Makefile is built automatically from Makefile.in # -# $Id: GNUmakefile.in,v 1.216 2013/01/10 11:03:58 fabiankeil Exp $ +# $Id: GNUmakefile.in,v 1.217 2013/01/25 14:17:15 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 \ + 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` clean-editor-files: -- 2.39.2