diff options
author | midipix <writeonce@midipix.org> | 2018-12-25 01:50:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-25 01:53:27 -0500 |
commit | 10d3bc93cae34adeb2c8736a15126f28fb2fdc50 (patch) | |
tree | 43bd28856e526d11d1aab6826c00da56ff768175 /sysinfo | |
parent | 6883343e82aa78b108dbf0d7779562b8bf34d51e (diff) | |
download | perk-10d3bc93cae34adeb2c8736a15126f28fb2fdc50.tar.bz2 perk-10d3bc93cae34adeb2c8736a15126f28fb2fdc50.tar.xz |
build system: create the ``build'' directory via the dirs.tag make target.
Diffstat (limited to 'sysinfo')
-rwxr-xr-x | sysinfo/version.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysinfo/version.sh b/sysinfo/version.sh index a9e5992..02dd5d5 100755 --- a/sysinfo/version.sh +++ b/sysinfo/version.sh @@ -59,11 +59,10 @@ cvdate=$(git show -s --format=%ci $gitver) vmacro=$(printf '%s' "$prefix"'_GIT_VERSION' | tr '[:lower:]' '[:upper:]') dmacro=$(printf '%s' "$prefix"'_GIT_DATE ' | tr '[:lower:]' '[:upper:]') - -# three cd "$workdir" -mkdir -p $(dirname "$output") + +# three printf '#define %s "%s"\n#define %s "%s"\n' \ "$vmacro" "$gitver" \ "$dmacro" "$cvdate" \ |