From 8127c8f927b79ef29a43ebd9c9dc1b13ae5dccae Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 19 Nov 2018 17:12:51 -0800 Subject: www: change .txt to .adoc. To make it clear these are asciidoc files, not plain text. --- SConstruct | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'SConstruct') 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", -- cgit v1.2.1