flatpak-builder/doc/Makefile.am

53 lines
1.2 KiB
Makefile

NULL =
if BUILDOPT_INSTALL_LIB
LIB_DOCS = reference
endif
SUBDIRS = $(LIB_DOCS)
XSLTPROC_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 \
$(NULL)
.xml.1:
$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
man_MANS = \
xdg-app.1 \
xdg-app-add-remote.1 \
xdg-app-delete-remote.1 \
xdg-app-list-remotes.1 \
xdg-app-modify-remote.1 \
xdg-app-ls-remote.1 \
xdg-app-install-runtime.1 \
xdg-app-update-runtime.1 \
xdg-app-uninstall-runtime.1 \
xdg-app-list-runtimes.1 \
xdg-app-install-app.1 \
xdg-app-update-app.1 \
xdg-app-make-app-current.1 \
xdg-app-uninstall-app.1 \
xdg-app-list-apps.1 \
xdg-app-run.1 \
xdg-app-override.1 \
xdg-app-enter.1 \
xdg-app-export-file.1 \
xdg-app-build-init.1 \
xdg-app-build.1 \
xdg-app-build-finish.1 \
xdg-app-build-export.1 \
xdg-app-repo-update.1 \
xdg-app-builder.1 \
$(NULL)
xml_files = $(man_MANS:.1=.xml)
EXTRA_DIST = $(xml_files)
DISTCLEANFILES = $(man_MANS)