summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-18 23:37:35 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-18 23:37:35 -0400
commit780291d87b8923e5f7f2e9a22472bb8f6347e8c0 (patch)
tree75c90cef3aa1700fb3ad8d33758fef39aacc705e /SConstruct
parent1c493e7d2413de60ad6196f8e1f9d9802fe9f8b8 (diff)
downloadgpsd-780291d87b8923e5f7f2e9a22472bb8f6347e8c0.tar.gz
Fix up the website-maker part of the recipe.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 6 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 0334e7f0..955cda11 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1313,12 +1313,16 @@ env.Alias('website', Split('''
# asciidoc documents
if env.WhereIs('asciidoc'):
for stem in ['AIVDM', 'NMEA',
- 'protocol-evolution', 'protocol-transition'
+ 'protocol-evolution', 'protocol-transition',
'client-howto']:
env.Command('www/%s.html' % stem, 'www/%s.txt' % stem,
- ['asciidoc -a toc -o www/%s.html www/%s.txt' % (stem, stem)])
+ ['asciidoc -a toc -o www/%s.html www/%s.txt' % (stem, stem)])
if htmlbuilder:
+ # Manual pages
+ for xml in glob.glob("*.xml"):
+ env.HTML('www/%s.html' % xml[:-4], xml)
+
# DocBook documents
for stem in ['writing-a-driver', 'performance/performance']:
env.HTML('www/%s.html' % stem, 'www/%s.xml' % stem)