chiark / gitweb /
Fix building of documentation when doing out-of-source builds.
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 7 Aug 2009 19:54:35 +0000 (21:54 +0200)
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 7 Aug 2009 19:54:35 +0000 (21:54 +0200)
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
libudev/docs/Makefile.am

index 47ca91524eaa5016f41a584cead9b9d998e22b9b..3da6fc719678eb5c2ef4e0c4628c43c6ebb8e340 100644 (file)
@@ -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
index 5229f0f4509b077ef3d6cad2c1d9b3a977509fb8..965902627f43b6674c9e8c71034ed1d9c6b43cd4 100644 (file)
@@ -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