From: Rusty Russell Date: Tue, 7 Nov 2000 04:08:34 +0000 (+0000) Subject: Allow patch-o-matic/ as a target (convenient for tab-completion) X-Git-Tag: v1.2.1~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a470f33a3d847d28daa6c7b52463c2889bab0b78;p=thirdparty%2Fiptables.git Allow patch-o-matic/ as a target (convenient for tab-completion) Erase .*~ files as well. --- diff --git a/Makefile b/Makefile index ade83b86..868c23be 100644 --- a/Makefile +++ b/Makefile @@ -93,10 +93,10 @@ iptables-standalone.d iptables.d: %.d: %.c @-$(CC) -M -MG $(CFLAGS) $< | sed -e 's@^.*\.o:@$*.d $*.o:@' > $@ distclean: clean - @rm -f TAGS `find . -name '*~'` `find . -name '*.rej'` `find . -name '*.d'` .makefirst + @rm -f TAGS `find . -name '*~' -o -name '.*~'` `find . -name '*.rej'` `find . -name '*.d'` .makefirst .PHONY: patch-o-matic -patch-o-matic: +patch-o-matic/ patch-o-matic: @cd $@ && KERNEL_DIR=$(KERNEL_DIR) ./runme # Rusty's distro magic.