summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2018-01-11 22:59:24 +0000
committerTed Gould <ted@gould.cx>2018-01-13 18:24:56 +0000
commite9cba090a51a9da8fb2ae7906731b12316083522 (patch)
tree39f09e877163c986997fa8fd1db68cee0d22c741
parentSupport INKSCAPE_ICONPATH in the desktop file (diff)
downloadinkscape-e9cba090a51a9da8fb2ae7906731b12316083522.tar.gz
inkscape-e9cba090a51a9da8fb2ae7906731b12316083522.zip
Script to get the Inkscape version from CMake
-rwxr-xr-xpackaging/snappy/version.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/snappy/version.sh b/packaging/snappy/version.sh
new file mode 100755
index 000000000..6962e55e7
--- /dev/null
+++ b/packaging/snappy/version.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cmake -LA 2>&1 | grep INKSCAPE_VERSION | cut -d : -f 2 | awk '{$1=$1};1'
+