diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-03 08:53:20 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-04 23:26:05 +0200 |
commit | 6f596f1dcbee812dd7feff1bc6664cdc7944f2a3 (patch) | |
tree | 75b4ed0437387bcab49d39aba0aa53de38aa25f1 /xS/xS-gen-version.awk | |
parent | abcff46dc49168125b51a63d10db3eb284d9bcc0 (diff) | |
download | xK-6f596f1dcbee812dd7feff1bc6664cdc7944f2a3.tar.gz xK-6f596f1dcbee812dd7feff1bc6664cdc7944f2a3.tar.xz xK-6f596f1dcbee812dd7feff1bc6664cdc7944f2a3.zip |
Move project version to file, add xS manual page
So far Go applications remain independent to handle Nix's inability
to easily combine them with the CMake part.
There is also no "install" target, because any packagers will want to
adjust installation paths manually, and there is no configure step.
Diffstat (limited to 'xS/xS-gen-version.awk')
-rw-r--r-- | xS/xS-gen-version.awk | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/xS/xS-gen-version.awk b/xS/xS-gen-version.awk deleted file mode 100644 index 1312a63..0000000 --- a/xS/xS-gen-version.awk +++ /dev/null @@ -1,14 +0,0 @@ -# xS-gen-version.awk: extract version information from the CMake script -# -# Copyright (c) 2022, Přemysl Eric Janouch <p@janouch.name> -# SPDX-License-Identifier: 0BSD - -Command == "project" { - for (i = 2; i in Args; i++) - if (Args[i] == "VERSION") { - print "package main" - print "" - print "const projectVersion = `" Args[++i] "`" - exit - } -} |