summaryrefslogtreecommitdiffstats
path: root/subsurface-gen-version.pri
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-20 06:23:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-20 06:23:48 -0700
commit70d4421cd0ab235ee4f37ed7f8b6ad863da703bb (patch)
tree9662614c657f546943eedb430348091a041b0dbd /subsurface-gen-version.pri
parent900071d6077e6e9773146ab52bc81db48a04a20e (diff)
downloadsubsurface-70d4421cd0ab235ee4f37ed7f8b6ad863da703bb.tar.gz
Remove defunct qmake support
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-gen-version.pri')
-rw-r--r--subsurface-gen-version.pri23
1 files changed, 0 insertions, 23 deletions
diff --git a/subsurface-gen-version.pri b/subsurface-gen-version.pri
deleted file mode 100644
index 1e62b0d6d..000000000
--- a/subsurface-gen-version.pri
+++ /dev/null
@@ -1,23 +0,0 @@
-# Generate the ssrf-version.h file
-macx: VER_OS = darwin
-unix: !macx: VER_OS = linux
-win32: VER_OS = win
-
-# use a compiler target that has a phony input and is forced on each `make` invocation
-# the resulted file is not a link target and is cleared with `make clean`
-PHONY_DEPS = .
-version_h.input = PHONY_DEPS
-version_h.depends = FORCE
-version_h.output = $$VERSION_FILE
-version_h.commands = cd $$PWD && sh $$PWD/scripts/write-version $$VERSION_FILE $$VERSION $$VER_OS
-silent: version_h.commands = @echo Checking $$VERSION_FILE && $$version_h.commands
-version_h.CONFIG += no_link
-QMAKE_EXTRA_COMPILERS += version_h
-QMAKE_CLEAN += $$VERSION_FILE
-
-# some qmake-time variables needed by subsurface-install.pri
-VERSION_SCRIPT = sh scripts/get-version
-FULL_VERSION = $$system("$$VERSION_SCRIPT linux")
-VERSION = $$system("$$VERSION_SCRIPT full || echo $${VERSION}")
-PRODVERSION_STRING = $$system("$$VERSION_SCRIPT win $$FULL_VERSION || echo $${VERSION}.0.0-git")
-VERSION_STRING = $$system("$$VERSION_SCRIPT linux $$FULL_VERSION || echo $${VERSION}-git")