summaryrefslogtreecommitdiff
path: root/Makefile-docs.am
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-03-07 17:28:36 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-03-07 17:28:36 -0500
commitcb8262c65191932580fbc73b726125e2982a1f1f (patch)
tree963f1dca4eafe60c0ac9756c191cb60b0054afa6 /Makefile-docs.am
parentab9ca6b3a2c3b54376491a87edada5d504ef133a (diff)
downloadbubblewrap-cb8262c65191932580fbc73b726125e2982a1f1f.tar.gz
Add a man page for bwrap
This does use docbook stylesheets and xsltproc. If we want to avoid that build dependency, we can just generate it once and be done.
Diffstat (limited to 'Makefile-docs.am')
-rw-r--r--Makefile-docs.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile-docs.am b/Makefile-docs.am
new file mode 100644
index 0000000..0582066
--- /dev/null
+++ b/Makefile-docs.am
@@ -0,0 +1,14 @@
+XSLTPROC = xsltproc
+
+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
+
+.xml.1:
+ $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+man_MANS = bwrap.1