X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=f8638383720c4aaa31c2a235aca3481a364ae805;hb=31b969263c34f46f398eec33c0b0e95947842cda;hp=2410b3d90540451a00502924ec46b43e1773cf72;hpb=6c2e192c3237bd46db6ad4230fed71d28f362331;p=ipfw.git diff --git a/Makefile b/Makefile index 2410b3d..f863838 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,12 @@ # 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 @@ -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: