summaryrefslogtreecommitdiffstats
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:30 +0000
commitad8b856c3b0d4d6055141a74664dbea4416c198d (patch)
tree8596d1a11d20a850e3316e27e51e422baa0aa1e5 /man/Makefile.am
parentInitial commit. (diff)
downloadxdg-user-dirs-ad8b856c3b0d4d6055141a74664dbea4416c198d.tar.xz
xdg-user-dirs-ad8b856c3b0d4d6055141a74664dbea4416c198d.zip
Adding upstream version 0.17.upstream/0.17upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--man/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..79f0c13
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,26 @@
+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:
+ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+.xml.5:
+ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+man_MANS = \
+ xdg-user-dir.1 \
+ xdg-user-dirs-update.1 \
+ user-dirs.conf.5 \
+ user-dirs.defaults.5 \
+ user-dirs.dirs.5
+
+xml_files = $(patsubst %.5,%.xml,$(patsubst %.1,%.xml,$(man_MANS)))
+
+EXTRA_DIST = $(xml_files)
+
+DISTCLEANFILES = $(man_MANS)