Fix build with srcdir!=builddir
authorMiloslav Trmač <mitr@redhat.com>
Tue, 9 Apr 2013 23:24:50 +0000 (01:24 +0200)
committerColin Walters <walters@verbum.org>
Fri, 12 Apr 2013 16:44:15 +0000 (12:44 -0400)
gtk-doc.make is attempting to add --path automatically but there is a
bug in the script in gtk-doc 1.18

https://bugs.freedesktop.org/show_bug.cgi?id=63479

docs/polkit/Makefile.am

index 8c6e58a..bc90178 100644 (file)
@@ -45,6 +45,10 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=polkit
 # Extra options to supply to gtkdoc-mktmpl
 MKTMPL_OPTIONS=
 
+# Extra options to supply to gtkdoc-mkhtml - workaround for incorrect check
+# in gtk-doc-1.18
+MKHTML_OPTIONS=--path=$(srcdir)
+
 # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
 content_files =                                                                                        \
        overview.xml                                                                                    \