Added target to create tarball
[wifihood] / 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