summaryrefslogtreecommitdiff
path: root/Makefile-tools.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile-tools.am')
-rw-r--r--Makefile-tools.am2
1 files changed, 1 insertions, 1 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 $@