]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fixed version, added distclean, and fixed distrib target.
authorRusty Russell <rusty@linuxcare.com.au>
Wed, 19 Apr 2000 11:22:03 +0000 (11:22 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 Apr 2000 11:22:03 +0000 (11:22 +0000)
Makefile

index e142db4696f54650cdbfedc3518ed4739f4a5101..4b709b37ebbd776f91ff67c7da2c3ac25a489a6b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,8 @@ TOPLEVEL_INCLUDED=YES
 ifndef KERNEL_DIR
 KERNEL_DIR=/usr/src/linux
 endif
-NETFILTER_VERSION:=1.0.0beta
-OLD_NETFILTER_VERSION:=1.0.0alpha
+NETFILTER_VERSION:=1.0.0
+OLD_NETFILTER_VERSION:=1.0.0beta
 
 LIBDIR:=/usr/local/lib
 BINDIR:=/usr/local/bin
@@ -60,6 +60,8 @@ EXTRA_DEPENDS+=iptables-standalone.d iptables.d
 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
 
 # Rusty's distro magic.
 distrib: check nowhitespace distclean delrelease /home/public/netfilter/iptables-$(NETFILTER_VERSION).tar.bz2 diff md5sums
@@ -76,7 +78,7 @@ delrelease:
        rm -f /home/public/netfilter/iptables-$(NETFILTER_VERSION).tar.bz2
 
 /home/public/netfilter/iptables-$(NETFILTER_VERSION).tar.bz2:
-       cd .. && ln -sf userspace iptables-$(NETFILTER_VERSION) && tar cvf - --exclude CVS --exclude iptables-$(NETFILTER_VERSION)/. | bzip2 -9 > $@ && rm iptables-$(NETFILTER_VERSION)
+       cd .. && ln -sf userspace iptables-$(NETFILTER_VERSION) && tar cvf - --exclude CVS iptables-$(NETFILTER_VERSION)/. | bzip2 -9 > $@ && rm iptables-$(NETFILTER_VERSION)
 
 diff: /home/public/netfilter/iptables-$(NETFILTER_VERSION).tar.bz2
        @mkdir /tmp/diffdir