| 1 |
Project to serve as a convenient packaging of the Ada Reference Manual |
| 2 |
formatter and sources. |
| 3 |
|
| 4 |
What is the Ada Reference Manual? |
| 5 |
================================= |
| 6 |
|
| 7 |
The Ada Reference Manual is the free (libre) version of the |
| 8 |
international standard ISO/IEC 8652:2012(E). It describes a |
| 9 |
programming language called "Ada". |
| 10 |
|
| 11 |
The Ada Reference Manual was last revised in 2012, and approved by ISO |
| 12 |
in 2013; it is called "Ada 2012". Previous versions are labeled Ada 95 |
| 13 |
and Ada 2005. |
| 14 |
|
| 15 |
The official version of the Ada Reference Manual is available at |
| 16 |
http://www.adaic.com/standards/ (draft of next version at |
| 17 |
http://www.ada-auth.org/standards/ada2x.html). That site also provides |
| 18 |
versions of the manual with change markup. |
| 19 |
|
| 20 |
For each year version, there are two different versions of manual, one |
| 21 |
that contains just the text of the official standard, and one which |
| 22 |
contains additional annotations for compiler writers, language lawyers |
| 23 |
etc. The latter version is called the "Annotated Ada Reference Manual" |
| 24 |
(or AARM for short). Both versions are provided by this package. |
| 25 |
|
| 26 |
Why aren't these files the same as upstream? |
| 27 |
================================================ |
| 28 |
|
| 29 |
The text and HTML files are the same as upstream (processed by the |
| 30 |
same tool from the same Scribe sources). |
| 31 |
|
| 32 |
The upstream release does not include an info version; this package |
| 33 |
uses the upstream tool to produce texinfo format from the upstream |
| 34 |
Scribe sources, and then standard tools to produce info format. |
| 35 |
|
| 36 |
The upstream PDF files are produced from the Scribe sources using |
| 37 |
Microsoft word as an intermediate step. The PDF file built by this |
| 38 |
package is produced from the texinfo intermediate; it is intended for |
| 39 |
paper printing only, since it has no hyperlinks. |
| 40 |
|
| 41 |
Why don't these PDF files have hyperlinks? |
| 42 |
========================================== |
| 43 |
|
| 44 |
The upstream PDF files don't have hyperlinks either. The problem is |
| 45 |
the intermediate processors; they don't generate proper hyperlinks for |
| 46 |
PDF (they do for HTML and info). To get hyperlinks in PDF, we would |
| 47 |
need to adapt the Ada code to produce PDF directly from the original |
| 48 |
source. |
| 49 |
|
| 50 |
Where do these files come from? |
| 51 |
=============================== |
| 52 |
|
| 53 |
The "upstream" for this distribution is a CVSWeb HTML interface at |
| 54 |
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ARM/. |
| 55 |
|
| 56 |
The file build/download.py provides simple tools to download the |
| 57 |
upstream source; that is run from build/Makefile. |
| 58 |
|
| 59 |
Usage |
| 60 |
===== |
| 61 |
|
| 62 |
There are two branches in the Gnu savannah server |
| 63 |
(git.sv.gnu.org:/srv/git/ada-mode.git): |
| 64 |
|
| 65 |
org.adaic.arm_form.upstream |
| 66 |
|
| 67 |
Verbatim copy of the sources in the AdaIC CVS web server |
| 68 |
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/arm/ |
| 69 |
except that: |
| 70 |
|
| 71 |
the file names are converted to lowercase. |
| 72 |
|
| 73 |
the line endings in the source directory are converted to unix. |
| 74 |
|
| 75 |
org.adaic.arm_form |
| 76 |
|
| 77 |
Local branch with minor changes, the texinfo generator, and a |
| 78 |
Makefile that builds everything. |
| 79 |
|
| 80 |
To do a release: |
| 81 |
|
| 82 |
NEWS |
| 83 |
document changes |
| 84 |
|
| 85 |
build/Makefile |
| 86 |
if necessary, update AVAILABLE_YEARS for latest version |
| 87 |
also all other occurances of 2012 in Makefile |
| 88 |
|
| 89 |
a new year will have a new change version; update |
| 90 |
progs.arm_texi.adb 'case Change_Version' |
| 91 |
|
| 92 |
if no new version, bump trailing digit in ZIP_VERSION |
| 93 |
otherwise, reset digit to 1 |
| 94 |
|
| 95 |
update_upstream |
| 96 |
|
| 97 |
If download.py reports non-zero failed downloads, run it in a |
| 98 |
shell repeatedly (for one year), until it reports no failed |
| 99 |
downloads. |
| 100 |
|
| 101 |
If download.py reports non-zero no such tag (should only |
| 102 |
happen with draft versions), run 'download.py HEAD', after all |
| 103 |
tagged files are succesfully downloaded. |
| 104 |
|
| 105 |
Then make: |
| 106 |
mark_%_downloaded |
| 107 |
source_scribe_%.stamp |
| 108 |
|
| 109 |
repeat for each year, and 'progs'. |
| 110 |
|
| 111 |
(dvc-status "../org.adaic.arm_form.upstream") |
| 112 |
commit message "update from upstream" |
| 113 |
|
| 114 |
(dvc-propagate-one "../org.adaic.arm_form.upstream" ".") |
| 115 |
|
| 116 |
build/Makefile |
| 117 |
all publish |
| 118 |
|
| 119 |
verify the following in progs/arm_texi.adb: |
| 120 |
|
| 121 |
Z:: no entries for Z? |
| 122 |
look near end of arm<version>.texinfo |
| 123 |
|
| 124 |
Update web page |
| 125 |
/Projects/Web/stephe-leake/ada/arm.html |
| 126 |
~/Web/Makefile |
| 127 |
edit ARM_INFO_ZIP_VERSION |
| 128 |
arm_info sync |
| 129 |
|
| 130 |
(dvc-status ".") |