diff options
| author | allusive-dev <[email protected]> | 2023-09-19 18:11:03 +1000 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-09-19 18:11:03 +1000 |
| commit | 11e028693f474bdb1377610e71f026d629389073 (patch) | |
| tree | 6f5514d4c38fa0377bb9b592047324b2c0e25577 | |
| parent | Fixed broken files/code and other errors (diff) | |
| download | compfy-11e028693f474bdb1377610e71f026d629389073.tar.xz compfy-11e028693f474bdb1377610e71f026d629389073.zip | |
fixed versioning and still working on manpages
| -rw-r--r-- | meson.build | 11 | ||||
| -rw-r--r-- | src/options.c | 4 |
2 files changed, 3 insertions, 12 deletions
diff --git a/meson.build b/meson.build index 08f55c2..03862f0 100644 --- a/meson.build +++ b/meson.build @@ -4,16 +4,7 @@ project('picom', 'c', version: '8', cc = meson.get_compiler('c') # use project version by default -version = 'v'+meson.project_version() - -# use git describe if that's available -git = find_program('git', required: false) -if git.found() - gitv = run_command('git', 'rev-parse', '--short=5', 'HEAD') - if gitv.returncode() == 0 - version = 'vgit-'+gitv.stdout().strip() - endif -endif +version = 'v0.2-1' add_global_arguments('-DCOMPTON_VERSION="'+version+'"', language: 'c') diff --git a/src/options.c b/src/options.c index 6a7bb49..ee92ef8 100644 --- a/src/options.c +++ b/src/options.c @@ -26,8 +26,8 @@ static void usage(const char *argv0, int ret) { #define WARNING_DISABLED " (DISABLED AT COMPILE TIME)" static const char *usage_text = - "picom (" COMPTON_VERSION ")\n" - "Please report bugs to https://github.com/yshui/picom\n\n" + "picom-allusive (" COMPTON_VERSION ")\n" + "Please report bugs to https://github.com/allusive-dev/picom-allusive\n\n" "usage: %s [options]\n" "Options:\n" "\n" |