diff options
-rw-r--r-- | Makefile-tools.am | 2 | ||||
-rwxr-xr-x | tools/g-ir-annotation-tool.in | 2 | ||||
-rwxr-xr-x | tools/g-ir-scanner.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile-tools.am b/Makefile-tools.am index c0dd7887..7bc2f3f6 100644 --- a/Makefile-tools.am +++ b/Makefile-tools.am @@ -2,7 +2,7 @@ bin_PROGRAMS += g-ir-compiler g-ir-generate bin_SCRIPTS += g-ir-scanner g-ir-annotation-tool EXTRA_DIST += tools/g-ir-scanner.in tools/g-ir-annotation-tool.in -TOOL_SUBSTITUTIONS = sed -e s,@libdir\@,$(libdir), -e s,@pkgdatadir\@,$(pkgdatadir), -e s,@PYTHON\@,$(PYTHON), +TOOL_SUBSTITUTIONS = sed -e s,@libdir\@,$(libdir), -e s,@datarootdir\@,$(datarootdir), -e s,@PYTHON\@,$(PYTHON), g-ir-scanner: tools/g-ir-scanner.in _giscanner.la Makefile $(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@ diff --git a/tools/g-ir-annotation-tool.in b/tools/g-ir-annotation-tool.in index 49d0b99f..5668cbe6 100755 --- a/tools/g-ir-annotation-tool.in +++ b/tools/g-ir-annotation-tool.in @@ -23,7 +23,7 @@ import os import sys import __builtin__ -__builtin__.__dict__['DATADIR'] = "@pkgdatadir@" +__builtin__.__dict__['DATADIR'] = "@datarootdir@" if 'GI_SCANNER_DEBUG' in os.environ: def on_exception(exctype, value, tb): diff --git a/tools/g-ir-scanner.in b/tools/g-ir-scanner.in index 6f2b83e5..f709683c 100755 --- a/tools/g-ir-scanner.in +++ b/tools/g-ir-scanner.in @@ -23,7 +23,7 @@ import os import sys import __builtin__ -__builtin__.__dict__['DATADIR'] = "@pkgdatadir@" +__builtin__.__dict__['DATADIR'] = "@datarootdir@" if 'GI_SCANNER_DEBUG' in os.environ: def on_exception(exctype, value, tb): |