Mercurial > vloopback
diff Makefile @ 5:fa5d2b9d8831
Add make dist to create tarball without .svn contest
author | AngelCarpintero |
---|---|
date | Sun, 18 May 2008 19:24:57 +0000 |
parents | 390a65d28b53 |
children | d3fdefea8bce |
line wrap: on
line diff
--- a/Makefile Sun May 18 18:17:13 2008 +0000 +++ b/Makefile Sun May 18 19:24:57 2008 +0000 @@ -1,3 +1,5 @@ +VERSION=trunk + ifneq ($(KERNELRELEASE),) obj-m := vloopback.o @@ -38,4 +40,7 @@ rm -f .*.cmd *.o *.mod.c *.ko .v* *~ core Modules.symvers rm -rf .tmp_versions/ rm -f example/dummy example/feed example/resize example/invert + +dist: clean + cd .. ; tar cfvz vloopback-$(VERSION).tar.gz --exclude='.svn' $(VERSION)/ endif