Work on the radix code, added support to compile on OpenWRT,
[ipfw.git] / Makefile
index 0442810..f863838 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@
 # We assume that $(USRDIR) contains include/ and lib/ used to build userland.
 
 DATE ?= $(shell date +%Y%m%d)
-SNAPSHOT_NAME=ipfw_linux-$(DATE)
+SNAPSHOT_NAME=ipfw_mod-$(DATE)
 
 _all: all
 
@@ -22,10 +22,8 @@ all clean distclean:
        (cd dummynet && $(MAKE) $(@) )
 
 snapshot:
-       -ln -s `pwd` /tmp/$(SNAPSHOT_NAME)
-       (cd /tmp; tar cvzhf $(SNAPSHOT_NAME).tgz --exclude .svn \
+       (cd ..; tar cvzhf /tmp/$(SNAPSHOT_NAME).tgz --exclude .svn \
                --exclude README.openwrt --exclude tags --exclude NOTES \
-               $(SNAPSHOT_NAME) )
-       -rm  /tmp/$(SNAPSHOT_NAME)
+               ipfw_mod )
 
 install: