diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-02-19 17:20:30 +0100 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-02-19 17:20:30 +0100 |
commit | 4015f6de5c98cab856991a05b27713af90e97e7f (patch) | |
tree | 1464d6b6fefeb7b41e78a46fcdb158c38fad6381 /configure | |
parent | 9e4ff1fe33081c1a4a8639fe2e27ffc6f2d4f48a (diff) | |
download | DeflateAndInflate-4015f6de5c98cab856991a05b27713af90e97e7f.zip DeflateAndInflate-4015f6de5c98cab856991a05b27713af90e97e7f.tar.gz |
(build) Simplify build doc
- Include target tripplet into version
- Refactor docker build env by a more flexible script variant
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,9 +59,9 @@ printMakefile () { printf '%s' 'PROJECT_VERSION=$(shell' printf '%s' ' ret=$$(git describe --tags 2>/dev/null |sed -E "s;^v;;");' printf '%s' ' if test -n "$$ret" -a -n "$$(git status --porcelain 2>/dev/null)"; then' - printf '%s' ' ret="$$ret+dirt";' + printf '%s' ' ret="$$ret+dirt.$$($(CC) -dumpmachine)";' printf '%s' ' fi;' - printf '%s' ' if test -z "$$ret"; then ret=$$(date -u +0.0.0-%Y%m%d.%H%M%S); fi;' + printf '%s' ' if test -z "$$ret"; then ret=$$(date -u +0.0.0-%Y%m%d.%H%M%S)"+$$($(CC) -dumpmachine)"; fi;' printf '%s\n' ' echo "$$ret")' if test "$verbose" = "0"; then printf '\n%s\n' '.SILENT:'; fi |