summaryrefslogtreecommitdiff
path: root/Makefile-tools.am
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2011-02-01 16:12:30 -0200
committerLaszlo Pandy <lpandy@src.gnome.org>2011-08-11 10:29:23 +0200
commit6a0a3f54db9a20cad02e954355cfb93ded1eb4dd (patch)
treeee2f588601bcc3a0b8b4cead722594107b71a31f /Makefile-tools.am
parentd19fcd098ed69d9216efbf68fc8ae4ba57d09638 (diff)
downloadgobject-introspection-6a0a3f54db9a20cad02e954355cfb93ded1eb4dd.tar.gz
WIP doctool
https://bugzilla.gnome.org/show_bug.cgi?id=625494
Diffstat (limited to 'Makefile-tools.am')
-rw-r--r--Makefile-tools.am14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile-tools.am b/Makefile-tools.am
index 7bc2f3f6..84858c84 100644
--- a/Makefile-tools.am
+++ b/Makefile-tools.am
@@ -1,6 +1,10 @@
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
+bin_SCRIPTS += g-ir-scanner g-ir-annotation-tool g-ir-doc-tool
+
+EXTRA_DIST += \
+ tools/g-ir-scanner.in \
+ tools/g-ir-annotation-tool.in \
+ tools/g-ir-doc-tool.in
TOOL_SUBSTITUTIONS = sed -e s,@libdir\@,$(libdir), -e s,@datarootdir\@,$(datarootdir), -e s,@PYTHON\@,$(PYTHON),
@@ -12,6 +16,10 @@ g-ir-annotation-tool: tools/g-ir-annotation-tool.in _giscanner.la Makefile
$(AM_V_GEN) $(TOOL_SUBSTITUTIONS) $< > $@.tmp && mv $@.tmp $@
@chmod a+x $@
+g-ir-doc-tool: tools/g-ir-doc-tool.in _giscanner.la Makefile
+ $(AM_V_GEN) sed -e s,@libdir\@,$(libdir), -e s,@PYTHON\@,$(PYTHON), $< > $@.tmp && mv $@.tmp $@
+ @chmod a+x $@
+
g_ir_compiler_SOURCES = tools/compiler.c
g_ir_compiler_CPPFLAGS = -DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\"" \
-I$(top_srcdir)/girepository
@@ -34,4 +42,4 @@ GCOVSOURCES = \
$(g_ir_compiler_SOURCES) \
$(g_ir_generate_SOURCES)
-CLEANFILES += g-ir-scanner g-ir-annotation-tool
+CLEANFILES += g-ir-scanner g-ir-annotation-tool g-ir-doc-tool