From: Diego Elio 'Flameeyes' Pettenò Date: Fri, 7 Aug 2009 19:54:35 +0000 (+0200) Subject: Fix building of documentation when doing out-of-source builds. X-Git-Tag: 174~837 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd2dab9ce566a4e30d5372be9fa4e1921b7749f7;p=systemd 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. --- 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