summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2009-12-20 18:16:15 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2009-12-20 18:16:15 +0800
commit8b0d36cf4202b79d965095817c04354e069e25eb (patch)
tree730571c12c1fbe2fca12e5d0709da379464e0c8b /docs
parentd0d97b819cd64e4693bdac1124e15a2cc2c379f5 (diff)
downloadibus-8b0d36cf4202b79d965095817c04354e069e25eb.tar.gz
Fix build errors if ./configure is not executed in top src dir.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ibus/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/reference/ibus/Makefile.am b/docs/reference/ibus/Makefile.am
index 0f25e3eb..254b474a 100644
--- a/docs/reference/ibus/Makefile.am
+++ b/docs/reference/ibus/Makefile.am
@@ -18,7 +18,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
# gtk-doc will search all .c & .h files beneath here for inline comments
# documenting the functions and macros.
# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=$(top_srcdir)/src
+DOC_SOURCE_DIR=../../../src
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS=
@@ -80,8 +80,13 @@ LDFLAGS = \
# signals and properties.
# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
-INCLUDES=-I$(top_srcdir)/src
-GTKDOC_LIBS=$(top_builddir)/src/libibus.la
+INCLUDES = \
+ -I$(top_srcdir)/src \
+ -I$(top_builddir)/src \
+ $(NULL)
+GTKDOC_LIBS = \
+ $(top_builddir)/src/libibus.la \
+ $(NULL)
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make