From bd2dab9ce566a4e30d5372be9fa4e1921b7749f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 7 Aug 2009 21:54:35 +0200 Subject: [PATCH] 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. --- extras/gudev/docs/Makefile.am | 2 +- libudev/docs/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/gudev/docs/Makefile.am b/extras/gudev/docs/Makefile.am index 47ca9152..3da6fc71 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 5229f0f4..96590262 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 -- 2.39.5