[m-rev.] diff: fix ROTD HTML manual URLs
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Jan 21 19:52:16 AEDT 2004
Estimated hours taken: 0.5
Branches: main
Fix the web page links to the ROTD HTML manuals.
w3/include/globals.inc.in:
Update the values of the variables which point to the HTML versions
of the ROTD manuals, so that they point to the right URLs. The URLS
have changed now that we are using "makeinfo --html" rather than
"perl texi2html" to generate HTML.
Also add an XXX comment mentioning that we'll need to do the same
for the release manuals when the next version is released.
compiler/notes/release_checklist.html:
Mention the need to update w3/include/globals.inc.in:
Workspace: /mnt/ceres/home/ceres/fjh/mercury
Index: compiler/notes/release_checklist.html
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/notes/release_checklist.html,v
retrieving revision 1.22
diff -u -d -r1.22 release_checklist.html
--- compiler/notes/release_checklist.html 20 Nov 2002 07:56:20 -0000 1.22
+++ compiler/notes/release_checklist.html 21 Jan 2004 07:04:46 -0000
@@ -18,6 +18,10 @@
<li> Items for the next version (1.0) only:
<ol>
<li>
+ Update w3/include/globals.inc as explained in the XXX comment there.
+ Don't commit your changes to the main branch yet, because
+ otherwise it would be installed on the WWW pages overnight.
+ <li>
Make sure that the runtime headers contain no symbols (function names,
variable names, type names, struct/enum tags or macros) that do not
begin with MR_.
Index: w3/include/globals.inc.in
===================================================================
RCS file: /home/mercury1/repository/w3/include/globals.inc.in,v
retrieving revision 1.2
diff -u -d -r1.2 globals.inc.in
--- w3/include/globals.inc.in 20 Jan 2003 08:57:37 -0000 1.2
+++ w3/include/globals.inc.in 21 Jan 2004 07:11:40 -0000
@@ -4,16 +4,18 @@
$next_beta_version="<NEXT_BETA_VERSION>";
$release_doc_dir="$root/information/doc-release";
$latest_doc_dir="$root/information/doc-latest";
- $ref_man_toc="reference_manual_toc.html";
- $user_guide_toc="user_guide_toc.html";
- $library_man_toc="library_toc.html";
- $trans_guide_toc="transition_guide_toc.html";
- $ref_man_release="$release_doc_dir/$ref_man_toc";
- $ref_man_latest="$latest_doc_dir/$ref_man_toc";
- $user_guide_release="$release_doc_dir/$user_guide_toc";
- $user_guide_latest="$latest_doc_dir/$user_guide_toc";
- $library_man_release="$release_doc_dir/$library_man_toc";
- $library_man_latest="$latest_doc_dir/$library_man_toc";
- $trans_guide_release="$release_doc_dir/$trans_guide_toc";
- $trans_guide_latest="$latest_doc_dir/$trans_guide_toc";
+ // The "foo_toc.html" form is used by texi2html, which was used
+ // in Mercury 0.11 and earlier.
+ // The "foo/index.html" form is used by "makeinfo --html", which is
+ // used in our ROTD releases.
+ // XXX The names used for $*_release will need to be updated
+ // when the next version after 0.11 is released.
+ $ref_man_release="$release_doc_dir/reference_manual_toc.html";
+ $ref_man_latest="$latest_doc_dir/mercury_ref/index.html";
+ $user_guide_release="$release_doc_dir/user_guide_toc.html";
+ $user_guide_latest="$latest_doc_dir/mercury_user_guide/index.html";
+ $library_man_release="$release_doc_dir/library_toc.html";
+ $library_man_latest="$latest_doc_dir/mercury_library/index.html";
+ $trans_guide_release="$release_doc_dir/transition_guide_toc.html";
+ $trans_guide_latest="$latest_doc_dir/mercury_trans_guide/index.html";
?>
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list