Added target to create tarball
authorjaviplx <javiplx@gmail.com>
Fri, 22 Oct 2010 21:22:00 +0000 (21:22 +0000)
committerjaviplx <javiplx@gmail.com>
Fri, 22 Oct 2010 21:22:00 +0000 (21:22 +0000)
git-svn-id: file:///svnroot/wifihood/trunk@69 c51dfc6a-5949-4919-9c8e-f207a149c383

wifiscand/Makefile

index 4df58c7..dc0cc20 100644 (file)
@@ -1,4 +1,6 @@
 
+VERSION = 1.3
+
 PREFIX = /usr
 
 OSSO_CFLAGS = $(shell pkg-config --silence-errors --cflags libosso)
@@ -20,6 +22,9 @@ install: wifiscand
        cp wifiscand $(DESTDIR)$(PREFIX)/sbin
        cp wifiscand.service $(DESTDIR)$(PREFIX)/share/dbus-1/services
 
+dist:
+       tar -czf ../wifiscand-$(VERSION).tar.gz --exclude .svn -C .. wifiscand
+
 clean:
        @rm -rf wifiscand