aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-15 14:13:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-15 14:13:54 +0100
commit883e9c3ca406a8707f9540c86c4e79d18283c68b (patch)
treeec35f0f58b7cc25928d25ccab74e1b895fe11aab /misc
parent66db4266279cebda911423d15ab31f8f0174a0fc (diff)
downloadpaludis-883e9c3ca406a8707f9540c86c4e79d18283c68b.tar.gz
paludis-883e9c3ca406a8707f9540c86c4e79d18283c68b.tar.xz
Better man page escaping
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile.am2
-rw-r--r--misc/asciidoc.conf9
2 files changed, 10 insertions, 1 deletions
diff --git a/misc/Makefile.am b/misc/Makefile.am
index 65ea6726a..6293f4ce7 100644
--- a/misc/Makefile.am
+++ b/misc/Makefile.am
@@ -1,6 +1,6 @@
CLEANFILES = *~ *.epicfail
MAINTAINERCLEANFILES = Makefile.in
-EXTRA_DIST = generated-file.txt do_m4.bash make_se.bash make_nn.bash common-makefile.am
+EXTRA_DIST = generated-file.txt do_m4.bash make_se.bash make_nn.bash common-makefile.am asciidoc.conf
AUTOMAKE_OPTIONS = 1.11 parallel-tests
diff --git a/misc/asciidoc.conf b/misc/asciidoc.conf
new file mode 100644
index 000000000..a4ed9389b
--- /dev/null
+++ b/misc/asciidoc.conf
@@ -0,0 +1,9 @@
+[quotes]
+'=
+
+[replacements]
+(^-- )=--&#32;
+(\n-- )|( -- )|( --\n)=&#32;--&#32;
+(\w)--(\w)=\1--\2
+\\--(?!-)=--
+