diff options
author | Phil Pennock <pdp@exim.org> | 2011-02-05 00:23:31 -0500 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2011-02-05 00:23:31 -0500 |
commit | b32a971138c1120763af565a142787cf3175ced7 (patch) | |
tree | c62f15e783d5403c72b55bb57b796d52a8bccb66 /doc/doc-docbook/Makefile | |
parent | bc19a55bf1d4db3a09f8030484faf8a824a9805d (diff) |
Strip \x{c2} from .txt files and audit.
Am unable to keep the build process from inserting spurious \x{c2}
characters into the created .txt files.
Strip the characters in Tidytxt.
Add SanityTestText to do a final audit for non-ASCII characters in the
.txt files. Dependency: pcregrep if available, else uses Perl.
Diffstat (limited to 'doc/doc-docbook/Makefile')
-rw-r--r-- | doc/doc-docbook/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/doc-docbook/Makefile b/doc/doc-docbook/Makefile index ed0ad8435..4f9232812 100644 --- a/doc/doc-docbook/Makefile +++ b/doc/doc-docbook/Makefile @@ -88,6 +88,7 @@ filter.txt: filter-txt.xml Tidytxt MyStyle-txt-html.xsl MyStyle-html.xsl \ /bin/rm -rf filter-txt.html xmlto -x MyStyle-txt-html.xsl html-nochunks filter-txt.xml w3m -dump filter-txt.html | ./Tidytxt >filter.txt + ./SanityTestText filter.txt # I have not found a way of making docbook2texi write its output anywhere # other than the file name that it makes up. The --to-stdout option does not @@ -168,6 +169,7 @@ spec.txt: spec-txt.xml Tidytxt MyStyle-txt-html.xsl MyStyle-html.xsl \ /bin/rm -rf spec-txt.html xmlto -x MyStyle-txt-html.xsl html-nochunks spec-txt.xml w3m -dump spec-txt.html | ./Tidytxt >spec.txt + ./SanityTestText spec.txt # I have not found a way of making docbook2texi write its output anywhere # other than the file name that it makes up. The --to-stdout option does not |