diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-18 23:37:35 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-18 23:37:35 -0400 |
commit | 780291d87b8923e5f7f2e9a22472bb8f6347e8c0 (patch) | |
tree | 75c90cef3aa1700fb3ad8d33758fef39aacc705e /SConstruct | |
parent | 1c493e7d2413de60ad6196f8e1f9d9802fe9f8b8 (diff) | |
download | gpsd-780291d87b8923e5f7f2e9a22472bb8f6347e8c0.tar.gz |
Fix up the website-maker part of the recipe.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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) |