7 # Make target to create release tarball. Use 'make tarball'
8 tarball
.commands
+= rm
-fR
../$$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
}/ &&
9 tarball
.commands
+= git clone
. ../$$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
} &&
10 tarball
.commands
+= rm
-fR
../$$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
}/.git
&&
11 tarball
.commands
+= rm
-f
../$$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
}/.gitignore
&&
12 tarball
.commands
+= cd
.. &&
13 tarball
.commands
+= tar czf $$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
}.tar
.gz $$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
} &&
14 tarball
.commands
+= tar cf $$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
}.tar $$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
} &&
15 tarball
.commands
+= xz
-f $$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
}.tar
&&
16 tarball
.commands
+= rm
-fR $$
{PROJECT_NAME
}-$$
{PROJECT_VERSION
}
18 QMAKE_EXTRA_TARGETS
+= tarball
20 # Translations included here (at top level) is to avoid regenerating the .qm files
21 # every time when src.pro is processed
22 include(src
/lang
/lang
.pri
)
24 # For Qt Creator beautifier