summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-11-19 17:12:51 -0800
committerGary E. Miller <gem@rellim.com>2018-11-19 17:12:51 -0800
commit8127c8f927b79ef29a43ebd9c9dc1b13ae5dccae (patch)
tree89252c6faa885ac79837a80f320838402a589d41 /SConstruct
parent0bcb227dc7ca314075cde83b6956a58dc3d5fdf0 (diff)
downloadgpsd-8127c8f927b79ef29a43ebd9c9dc1b13ae5dccae.tar.gz
www: change .txt to .adoc.
To make it clear these are asciidoc files, not plain text.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 5 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index bd280990..d4577f01 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2332,7 +2332,7 @@ Utility('shmclean', [], ["ipcrm -M 0x4e545030;"
# asciidoc documents
if env.WhereIs('asciidoc'):
- txtfiles = ['AIVDM',
+ adocfiles = ['AIVDM',
'client-howto',
'gpsd-time-service-howto',
'NMEA',
@@ -2340,11 +2340,11 @@ if env.WhereIs('asciidoc'):
'protocol-transition',
'time-service-intro',
]
- asciidocs = ["www/" + stem + ".html" for stem in txtfiles] \
+ asciidocs = ["www/" + stem + ".html" for stem in adocfiles] \
+ ["www/installation.html"]
- for stem in txtfiles:
- env.Command('www/%s.html' % stem, 'www/%s.txt' % stem,
- ['asciidoc -b html5 -a toc -o www/%s.html www/%s.txt'
+ for stem in adocfiles:
+ env.Command('www/%s.html' % stem, 'www/%s.adoc' % stem,
+ ['asciidoc -b html5 -a toc -o www/%s.html www/%s.adoc'
% (stem, stem)])
env.Command("www/installation.html",
"INSTALL",