comparison 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
comparison
equal deleted inserted replaced
4:dc1f4ad7010c 5:fa5d2b9d8831
1 VERSION=trunk
2
1 ifneq ($(KERNELRELEASE),) 3 ifneq ($(KERNELRELEASE),)
2 4
3 obj-m := vloopback.o 5 obj-m := vloopback.o
4 6
5 else 7 else
36 -/sbin/depmod -a 38 -/sbin/depmod -a
37 clean: 39 clean:
38 rm -f .*.cmd *.o *.mod.c *.ko .v* *~ core Modules.symvers 40 rm -f .*.cmd *.o *.mod.c *.ko .v* *~ core Modules.symvers
39 rm -rf .tmp_versions/ 41 rm -rf .tmp_versions/
40 rm -f example/dummy example/feed example/resize example/invert 42 rm -f example/dummy example/feed example/resize example/invert
43
44 dist: clean
45 cd .. ; tar cfvz vloopback-$(VERSION).tar.gz --exclude='.svn' $(VERSION)/
41 endif 46 endif