diff options
author | Colin Walters <walters@src.gnome.org> | 2008-11-13 19:57:07 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-11-13 19:57:07 +0000 |
commit | 20fcdbb2665d46180f445881b264eb3ed5ba64e9 (patch) | |
tree | 0f88ff6b9d6cb7737df7820fd8a556c7786b1dff | |
parent | 6d4f6376866fb10939a541797d4819443e1e10ff (diff) | |
download | gobject-introspection-20fcdbb2665d46180f445881b264eb3ed5ba64e9.tar.gz |
Add a file to include with Makefile fragments useful for scanner invocation
svn path=/trunk/; revision=910
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | common.mk | 10 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-11-13 Colin Walters <walters@verbum.org> + + * common.mk: Add a file to include with Makefile fragments + useful for scanner invocation. + 2008-11-13 Tommi Komulainen <tommi.komulainen@iki.fi> * tests/everything/gitesttypes.c (test_filename_return): Return diff --git a/common.mk b/common.mk new file mode 100644 index 00000000..7458e5fc --- /dev/null +++ b/common.mk @@ -0,0 +1,10 @@ +SCANNER_BIN = $(top_srcdir)/tools/g-ir-scanner +SCANNER_PYTHONPATH = $(top_builddir):$(top_srcdir):$$PYTHONPATH +SCANNER_ENV = env PYTHONPATH=$(SCANNER_PYTHONPATH) \ + UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ + UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) +SCANNER_ARGS = -v --add-include-path=$(top_builddir)/gir --add-include-path=. +SCANNER = $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS) +SCANNER_LIBS = \ + $(top_srcdir)/giscanner/*.py \ + $(top_builddir)/giscanner/libgiscanner.la |