From: stevenknight Date: Wed, 3 Oct 2001 10:46:28 +0000 (+0000) Subject: Make the documentation build with more version of the tools X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2fd407e6569c573cbddb2a88957f177b1eb47bac;p=scons.git Make the documentation build with more version of the tools git-svn-id: http://scons.tigris.org/svn/scons/trunk@83 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/doc/Conscript b/doc/Conscript index d8386d6a..71ee327e 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 745d4730..62b865bc 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 eb7ab39e..b64dbaa3 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;