summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-08-07 21:54:35 +0200
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-08-07 21:54:35 +0200
commitbd2dab9ce566a4e30d5372be9fa4e1921b7749f7 (patch)
tree83a7c584ad94e2148098f41228a70e3d4e56d2ad
parenteab32c2529ce53f9e01c12df739257511d58ebfb (diff)
Fix building of documentation when doing out-of-source builds.
Since gtk-mkhtml is executed in a sub-directory of the build directory, and make does not know of that, the $(buildir) variable will still be "." and the $(srcdir) will not properly be found. For this reason, use the absolute variants for the two functions, which won't be changing.
-rw-r--r--extras/gudev/docs/Makefile.am2
-rw-r--r--libudev/docs/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/extras/gudev/docs/Makefile.am b/extras/gudev/docs/Makefile.am
index 47ca91524e..3da6fc7196 100644
--- a/extras/gudev/docs/Makefile.am
+++ b/extras/gudev/docs/Makefile.am
@@ -39,7 +39,7 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml
MKTMPL_OPTIONS=
# Extra options to supply to gtkdoc-mkhtml
-MKHTML_OPTIONS=
+MKHTML_OPTIONS=--path=$(abs_srcdir) --path=$(abs_builddir)
# Extra options to supply to gtkdoc-fixref. Not normally needed.
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
diff --git a/libudev/docs/Makefile.am b/libudev/docs/Makefile.am
index 5229f0f450..965902627f 100644
--- a/libudev/docs/Makefile.am
+++ b/libudev/docs/Makefile.am
@@ -39,7 +39,7 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space udev
MKTMPL_OPTIONS=
# Extra options to supply to gtkdoc-mkhtml
-MKHTML_OPTIONS=
+MKHTML_OPTIONS=--path=$(abs_srcdir) --path=$(abs_builddir)
# Extra options to supply to gtkdoc-fixref. Not normally needed.
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html