]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Allow patch-o-matic/ as a target (convenient for tab-completion)
authorRusty Russell <rusty@linuxcare.com.au>
Tue, 7 Nov 2000 04:08:34 +0000 (04:08 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 7 Nov 2000 04:08:34 +0000 (04:08 +0000)
Erase .*~ files as well.

Makefile

index ade83b865c5ff0e7cf523aa659c161afa739b9cf..868c23befe1d883900dced300f9317b120a9d3f1 100644 (file)
--- 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.