X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=docs%2Fgudev%2FMakefile.am;h=f984eb5cbc509855859ec9fe9a927c42f77b1cae;hp=803a2bbd80ae939dd93afd5f75727a581796bd19;hb=80037e4d17d0c8f28d0ff610902babc9e2b4e2f9;hpb=bb061708d5aa83579f213bdfb67253f7027217c3 diff --git a/docs/gudev/Makefile.am b/docs/gudev/Makefile.am index 803a2bbd8..f984eb5cb 100644 --- a/docs/gudev/Makefile.am +++ b/docs/gudev/Makefile.am @@ -21,7 +21,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml # gtk-doc will search all .c & .h files beneath here for inline comments # documenting the functions and macros. # e.g. DOC_SOURCE_DIR=../../../gtk -DOC_SOURCE_DIR=$(top_srcdir)/src/gudev +DOC_SOURCE_DIR=$(top_srcdir)/src/gudev $(top_builddir)/src/gudev # Extra options to pass to gtkdoc-scangobj. Not normally needed. SCANGOBJ_OPTIONS= @@ -32,7 +32,7 @@ SCAN_OPTIONS= # Extra options to supply to gtkdoc-mkdb. # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml -MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g_udev +MKDB_OPTIONS=--xml-mode --output-format=xml --name-space=g_udev # Extra options to supply to gtkdoc-mktmpl # e.g. MKTMPL_OPTIONS=--only-section-tmpl @@ -103,3 +103,6 @@ if ENABLE_GTK_DOC #TESTS_ENVIRONMENT = cd $(srcsrc) #TESTS = $(GTKDOC_CHECK) endif + +install-data-hook: + $(AM_V_GEN)gtkdoc-rebase --html-dir=$(top_builddir)/docs/gudev/html --relative