diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-06-01 09:18:43 +0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-06-11 13:53:01 -0400 |
commit | db214ed923cfe9fc75432d5338e8a3b0d9c83d25 (patch) | |
tree | bc4afafbeacf2d7584bcf7bd326ad88d58991cfd /gir | |
parent | 31317a9ffa31af959dd51eedfa2f31f586687475 (diff) | |
download | gobject-introspection-db214ed923cfe9fc75432d5338e8a3b0d9c83d25.tar.gz |
Make g-ir-compiler find files installed by make install
When ./configure --prefix $HOME/some/where is used gobject-introspection
will happily install the files into $HOME/some/where/data/gir-1.0 but
it will refuse to find them. Apply the same trick as in
girepository/girepository.c:init_globals to find the gir files.
Unifiy the name gir-1.0 in GIR_SUFFIX and use it throughout the
project, introduce GIR_DIR which holds the path to the gir files and
update girparser and transformer.py to look into this path.
Diffstat (limited to 'gir')
-rw-r--r-- | gir/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am index f3b1dbab..010839d4 100644 --- a/gir/Makefile.am +++ b/gir/Makefile.am @@ -201,7 +201,7 @@ GIRSOURCES = \ $(BASE_GIRSOURCES) \ $(BUILT_GIRSOURCES) -girdir = $(datadir)/gir-1.0 +girdir = $(GIR_DIR) dist_gir_DATA = $(GIRSOURCES) %.typelib: %.gir $(top_builddir)/tools/g-ir-compiler$(EXEEXT) |