summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-21 06:00:46 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-21 06:00:46 -0500
commita0fc0d5125f97119740106e75a1b92d565d68f1f (patch)
treef9eaa4bf7aa8a15865df9815882ad6ad584e0ebd
parent27331b9d3a84ad61ac62e4307a4def079462a956 (diff)
downloadsubsurface-a0fc0d5125f97119740106e75a1b92d565d68f1f.tar.gz
make clean should also remove ssrf-version.h
Regardless if we are building from git or from a tar file. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-gen-version.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-gen-version.pri b/subsurface-gen-version.pri
index 691005053..8b2131a8a 100644
--- a/subsurface-gen-version.pri
+++ b/subsurface-gen-version.pri
@@ -23,4 +23,5 @@ exists(.git/HEAD): {
# This is probably a package
FULL_VERSION = $$VERSION
system(echo \\$${LITERAL_HASH}define VERSION_STRING \\\"$$VERSION\\\" > $$VERSION_FILE)
+ QMAKE_CLEAN += $$VERSION_FILE
}