summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 7a00d7492..a34bc091a 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -20,8 +20,12 @@ else: TARGET = subsurface
QMAKE_CLEAN += $$TARGET
VERSION = 4.4
+VERSION_FILE = $$OUT_PWD/ssrf-version.h
+# create a blank VERSION_FILE if missing
+system(cat $$VERSION_FILE > /dev/null 2>&1 || touch $$VERSION_FILE)
HEADERS = \
+ $$VERSION_FILE \
cochran.h \
color.h \
deco.h \