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 /meson.build | |
| parent | Fixed broken files/code and other errors (diff) | |
| download | compfy-11e028693f474bdb1377610e71f026d629389073.tar.xz compfy-11e028693f474bdb1377610e71f026d629389073.zip | |
fixed versioning and still working on manpages
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 11 |
1 files changed, 1 insertions, 10 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') |