diff options
author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2018-04-26 00:00:00 +0000 |
---|---|---|
committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2018-04-26 13:00:19 +0200 |
commit | eb4e0fc8f9e278e81a3191f5e30610aaf4aaa762 (patch) | |
tree | a46142828e4a1b892f5b013d65ffa8727c80ee00 /configure.ac | |
parent | cf758608312525fb1826027757412f2b62e77f7f (diff) | |
download | gobject-introspection-eb4e0fc8f9e278e81a3191f5e30610aaf4aaa762.tar.gz |
Add --version option to Python based tools.
Version file is generated at build time and stored as _version.py.
To support running uninstalled tools, a fallback version is included as
well. Example output of `--version` option:
```
$ for t in g-ir-{annotation-tool,scanner,doc-tool}; do $t --version; done
g-ir-annotation-tool 1.57.1
g-ir-scanner 1.57.1
g-ir-doc-tool 1.57.1
```
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 58a86b1c..4a5ee842 100644 --- a/configure.ac +++ b/configure.ac @@ -378,6 +378,7 @@ tests/warn/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml +giscanner/_version.py gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc config.h.win32 |