From 5b4b4df4c9c2cfb3aa2e4b40c2c49ea8bf10ce37 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 8 Nov 2007 21:56:53 -0600 Subject: [PATCH] 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 --- doc/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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