Commits

Anonymous committed 6d14ce7

Make the documentation build with more version of the tools

Comments (0)

Files changed (3)

 <!--
 THIS IS AN AUTOMATICALLY-GENERATED FILE.  DO NOT EDIT.
 -->
-<!ENTITY build_date "${\$env->{DATE}}">
-<!ENTITY build_version "${\$env->{VERSION}}">
-<!ENTITY build_revision "${\$env->{REVISION}}">
+<!ENTITY builddate "${\$env->{DATE}}">
+<!ENTITY buildversion "${\$env->{VERSION}}">
+<!ENTITY buildrevision "${\$env->{REVISION}}">
 _EOF_
 close(FILE);
 
     $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 > %>));

doc/design/main.sgml

 
 <book>
   <bookinfo>
-    <title>SCons Design version &build_version;</title>
+    <title>SCons Design version &buildversion;</title>
 
     <author>
       <firstname>Steven</firstname>
       <surname>Knight</surname>
     </author>
 
-    <edition>Revision &build_revision; (&build_date;)</edition>
+    <edition>Revision &buildrevision; (&builddate;)</edition>
 
     <pubdate>2001</pubdate>
 
       &copyright;
     </legalnotice>
 
-    <releaseinfo>version &build_version;</releaseinfo>
+    <releaseinfo>version &buildversion;</releaseinfo>
 
   </bookinfo>
 

doc/user/main.sgml

 
 <book>
   <bookinfo>
-    <title>SCons User Guide &build_version;</title>
+    <title>SCons User Guide &buildversion;</title>
 
     <author>
       <firstname>Steven</firstname>
       <surname>Knight</surname>
     </author>
 
-    <edition>Revision &build_revision; (&build_date;)</edition>
+    <edition>Revision &buildrevision; (&builddate;)</edition>
 
     <pubdate>2001</pubdate>
 
       &copyright;
     </legalnotice>
 
-    <releaseinfo>version &build_version;</releaseinfo>
+    <releaseinfo>version &buildversion;</releaseinfo>
 
   </bookinfo>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.