diff options
author | Gary E. Miller <gem@rellim.com> | 2018-11-19 17:12:51 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-11-19 17:12:51 -0800 |
commit | 8127c8f927b79ef29a43ebd9c9dc1b13ae5dccae (patch) | |
tree | 89252c6faa885ac79837a80f320838402a589d41 /SConstruct | |
parent | 0bcb227dc7ca314075cde83b6956a58dc3d5fdf0 (diff) | |
download | gpsd-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-- | SConstruct | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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", |