From eb4e0fc8f9e278e81a3191f5e30610aaf4aaa762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Thu, 26 Apr 2018 00:00:00 +0000 Subject: 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 ``` --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') 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 -- cgit v1.2.1