From: Harald Welte Date: Tue, 31 Jul 2001 20:51:31 +0000 (+0000) Subject: add OR (-o) to find in 'clean' target of Rules.make X-Git-Tag: v1.2.3~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db16ed18a7b1e3892e646848c25cffc5a36e0a5c;p=thirdparty%2Fiptables.git add OR (-o) to find in 'clean' target of Rules.make --- diff --git a/Rules.make b/Rules.make index 56b482a9..7c84143f 100644 --- a/Rules.make +++ b/Rules.make @@ -7,7 +7,7 @@ experimental: $(EXTRAS_EXP) # Have to handle extensions which no longer exist. clean: $(EXTRA_CLEANS) rm -f $(SHARED_LIBS) $(EXTRAS) $(EXTRAS_EXP) $(SHARED_LIBS:%.so=%_sh.o) - @find . -name '*.[ao]' -name '*.so' | xargs rm -f + @find . -name '*.[ao]' -o -name '*.so' | xargs rm -f install: all $(EXTRA_INSTALLS) @if [ -f /usr/local/bin/iptables -a "$(BINDIR)" = "/usr/local/sbin" ];\