From 905795cd1499daf974c15f0d73bd83896414e762 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 19 Apr 2000 11:22:03 +0000 Subject: Fixed version, added distclean, and fixed distrib target. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e142db46..4b709b37 100644 --- 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 -- cgit v1.2.3