diff options
Diffstat (limited to 'docs/Makefile.am')
-rw-r--r-- | docs/Makefile.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index da66f27..cbd788a 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -14,3 +14,32 @@ MKDB_OPTIONS = --output-format=xml INCLUDES = $(gio_CFLAGS) GTKDOC_LIBS = $(gio_LIBS) -L../client -ldconf -Wl,-rpath=../client + +XSLTPROC_MAN_FLAGS = \ + --nonet \ + --stringparam man.output.quietly 1 \ + --stringparam funcsynopsis.style ansi \ + --stringparam man.th.extra1.suppress 1 \ + --stringparam man.authors.section.enabled 0 \ + --stringparam man.copyright.section.enabled 0 + +%.1: %.xml + $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_MAN_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +dconf.1: dconf-tool.xml + $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_MAN_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +dconf.7: dconf-overview.xml + $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_MAN_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +man_MANS = \ + dconf-service.1 \ + dconf-editor.1 \ + dconf.1 \ + dconf.7 + +xml_files = ${patsubst %.1,%.xml,${patsubst %.7,%.xml,$(man_MANS)}} + +EXTRA_DIST += $(xml_files) + +DISTCLEANFILES = $(man_MANS) |