Adding dist tarball creation
authorRusty Lynch <rusty.lynch@intel.com>
Wed, 4 Apr 2012 20:19:30 +0000 (13:19 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Wed, 4 Apr 2012 20:19:30 +0000 (13:19 -0700)
projects.pro

index c5aae48..d586d52 100644 (file)
@@ -25,3 +25,10 @@ INSTALLS += \
     dbus_service \
     documentation \
 
+PROJECT_NAME = hfdialer
+
+dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION} &&
+dist.commands += git clone . $${PROJECT_NAME}-$${VERSION} &&
+dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION}/.git &&
+dist.commands += tar jcpvf $${PROJECT_NAME}-$${VERSION}.tar.bz2 $${PROJECT_NAME}-$${VERSION}
+QMAKE_EXTRA_TARGETS += dist