From 79f443cec41fdbf9fad32323664007d0a1f1e50b Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Wed, 3 Oct 2001 10:46:28 +0000 Subject: Make the documentation build with more version of the tools --- doc/Conscript | 33 +++++++++++++++++---------------- doc/design/main.sgml | 6 +++--- doc/user/main.sgml | 6 +++--- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/doc/Conscript b/doc/Conscript index d8386d6..71ee327 100644 --- a/doc/Conscript +++ b/doc/Conscript @@ -28,9 +28,9 @@ print FILE <<_EOF_; -{DATE}}"> -{VERSION}}"> -{REVISION}}"> +{DATE}}"> +{VERSION}}"> +{REVISION}}"> _EOF_ close(FILE); @@ -103,23 +103,24 @@ foreach $doc (keys %doc_dirs) { $env->QuickScan(\&scansgml, $main); $env->Command($html, $main, - [qq(rm -f %>:d/*.html), - qq(jw -b html -o %>:d %<), - ]); + qq(rm -f %>:d/*.html + jw -b html -o %>:d %< + mv -v %>:d/index.html %> || true + )); $env->Command($ps, $main, - [qq(rm -f %>:d/$out), - qq(jw -b ps -o %>:d %<), - qq(mv %>:d/main.ps %>), - qq(rm -f %>:d/$out), - ]); + qq(rm -f %>:d/$out + jw -b ps -o %>:d %< + mv %>:d/main.ps %> + rm -f %>:d/$out + )); $env->Command($pdf, $main, - [qq(rm -f %>:d/$out), - qq(jw -b pdf -o %>:d %<), - qq(mv %>:d/main.pdf %>), - qq(rm -f %>:d/$out), - ]); + qq(rm -f %>:d/$out + jw -b pdf -o %>:d %< + mv %>:d/main.pdf %> + rm -f %>:d/$out + )); if ($doc_dirs{$doc}->{'text'} && $lynx) { $env->Command($text, $html, qq(lynx -dump %<:a > %>)); diff --git a/doc/design/main.sgml b/doc/design/main.sgml index 745d473..62b865b 100644 --- a/doc/design/main.sgml +++ b/doc/design/main.sgml @@ -27,14 +27,14 @@ - SCons Design version &build_version; + SCons Design version &buildversion; Steven Knight - Revision &build_revision; (&build_date;) + Revision &buildrevision; (&builddate;) 2001 @@ -47,7 +47,7 @@ ©right; - version &build_version; + version &buildversion; diff --git a/doc/user/main.sgml b/doc/user/main.sgml index eb7ab39..b64dbaa 100644 --- a/doc/user/main.sgml +++ b/doc/user/main.sgml @@ -36,14 +36,14 @@ - SCons User Guide &build_version; + SCons User Guide &buildversion; Steven Knight - Revision &build_revision; (&build_date;) + Revision &buildrevision; (&builddate;) 2001 @@ -56,7 +56,7 @@ ©right; - version &build_version; + version &buildversion; -- cgit v0.12