summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-09 04:56:53 +0100
committerDan McGee <dan@archlinux.org>2007-11-09 04:56:53 +0100
commit5b4b4df4c9c2cfb3aa2e4b40c2c49ea8bf10ce37 (patch)
tree68ebe1c35557a59b5faa36e4665edadeb3e5da5b /doc/Makefile.am
parent9407baaaa68ddd30b48069ce3e96fd8c8d550b31 (diff)
downloadpacman-5b4b4df4c9c2cfb3aa2e4b40c2c49ea8bf10ce37.tar.gz
pacman-5b4b4df4c9c2cfb3aa2e4b40c2c49ea8bf10ce37.tar.xz
Get rid of the footnotes section in generated manpages
We really don't need it since it is just links. However, we do need to figure out how to get our old links to show up right. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 51b3e280..a42141fa 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -51,9 +51,14 @@ ASCIIDOC_OPTS = \
-a pacman_version="$(PACKAGE_VERSION)" \
-a pacman_date="`date +%Y-%m-%d`" \
-a sysconfdir=$(sysconfdir)
+A2X_OPTS = \
+ -d manpage \
+ -f manpage \
+ --xsltproc-opts='-param man.endnotes.list.enabled 0' \
+ --xsltproc-opts='-param man.endnotes.are.numbered 0'
$(ASCIIDOC_MANS):
- a2x -d manpage -f manpage --asciidoc-opts="$(ASCIIDOC_OPTS)" $@.txt
+ a2x $(A2X_OPTS) --asciidoc-opts="$(ASCIIDOC_OPTS)" $@.txt
# These rules are due to the includes and files of the asciidoc text
$(ASCIIDOC_MANS): footer.txt