summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile.am1
-rw-r--r--doc/PKGBUILD.5.txt7
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index cce0a711..7992e547 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -62,6 +62,7 @@ ASCIIDOC_OPTS = \
-a pacman_date="`date +%Y-%m-%d`" \
-a sysconfdir=$(sysconfdir)
A2X_OPTS = \
+ --no-xmllint \
-d manpage \
-f manpage \
--xsltproc-opts='-param man.endnotes.list.enabled 0' \
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index b0f2bdb6..416f55e1 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -369,11 +369,10 @@ The following is an example PKGBUILD for the 'patch' package. For more
examples, look through the build files of your distribution's packages. For
those using Arch Linux, consult the ABS tree.
-[sh]
-source~~~~~
+[source,sh]
+-------------------------------
include::PKGBUILD-example.txt[]
-source~~~~~
-
+-------------------------------
See Also
--------