Remove the old dummynet directory and update the new code with the missing files...
[ipfw.git] / Makefile
index 2410b3d..55b8e0b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,25 +7,23 @@
 # To build on system with non standard Kernel sources or userland files,
 # you should run this with
 #
-#      make KERNELPATH=/path/to/linux-2.x.y.z USRDIR=/path/to/usr
+#      make KERNELPATH=/path/to/linux-2.x.y.z USRDIR=/path/to/usr
 #
 # 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
 
 all clean distclean:
        echo target is $(@)
        (cd ipfw && $(MAKE) $(@) )
-       (cd dummynet && $(MAKE) $(@) )
+       (cd dummynet2 && $(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: