summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-06-10 01:36:12 +0200
committerPeter Simons <simons@cryp.to>2009-06-10 01:36:12 +0200
commit4a35979d95d1ba4c34f6d9878c91de2a04c353ed (patch)
treedc8a59d34ea8ad8c474b396be4a4ea2aca5f1ff6 /SConstruct
parentb4417e7444bb5204b8fb11080b252e15de452ab0 (diff)
downloadautoconf-archive-4a35979d95d1ba4c34f6d9878c91de2a04c353ed.tar.gz
Set utf-8 encoding when running tidy.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 821f04d..ab0bb90 100644
--- a/SConstruct
+++ b/SConstruct
@@ -33,6 +33,6 @@ for m in Glob(path.join(m4dir, "*.m4")):
s = Command(t, [s, "markdown.st"], formatMacro, inputEncoding = "latin1", outputEncoding = "utf-8")
t = path.splitext(t)[0] + ".html"
s = Command(t, [s, cssfile, "header.html"], "pandoc --standalone --title-prefix='Autoconf Macro: ' --include-before-body=header.html --css=autoconf-archive.css --from=markdown --to=html -o $TARGET $SOURCE")
- AddPostAction(s, "@tidy -quiet --indent yes --indent-spaces 1 --write-back yes --tidy-mark no -wrap 80 --hide-comments yes $TARGET")
+ AddPostAction(s, "@tidy -quiet -utf8 -modify --indent yes --indent-spaces 1 --tidy-mark no -wrap 80 --hide-comments yes $TARGET")
Clean(".", [stagedir])