summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 06e4c1e..645c7b2 100755
--- a/configure
+++ b/configure
@@ -24,7 +24,7 @@ MKDIRS=mkdir -p
RIMRAF=rm -rf
PROJECT_NAME=quotprint
-PROJECT_VERSION=$(shell git describe --tags || date -u +0.0.0-%Y%m%d.%H%M%S)
+PROJECT_VERSION=$(shell git describe --tags|sed -E 's;^v;;' || date -u +0.0.0-%Y%m%d.%H%M%S)
CFLAGS=]=])for _, f in ipairs(getCFLAGSArr())do snk:write(" ")snk:write(f)end snk:write([=[ \
-DPROJECT_NAME=$(PROJECT_NAME) \