summaryrefslogtreecommitdiffstats
path: root/doc/started_ada
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-04-26 18:02:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-04-26 18:02:26 +0000
commit2ba8875a0b268d572ef2a27584d3f845ec1391b0 (patch)
tree70279d7624be264d69e3db5ab15a2af9278be0eb /doc/started_ada
parentbb4b574983e908329ff6feaff0a0e662ae621649 (diff)
downloadrtems-2ba8875a0b268d572ef2a27584d3f845ec1391b0.tar.bz2
Patch rtemsdoc-4.5.0-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which contains the bulk of converting the documentation tree to automake and GNU conventions. Comments follow: This is the automake port of rtemsdoc. To apply: cvs co rtemsdoc cd rtemsdoc sh cvs-rm.sh patch -p0 < rtemsdoc-4.5.0-rc-0.diff sh cvs-add.sh [Attention: cvs-rm.sh and cvs-add.sh directly modify cvs] Known bugs: 1) src2html is not supported (yet? - Is this supposed to work?) 2) all *.pdf images now are generated on-the-fly, but not yet deleted during "make distclean" 3) All supplements, including the templated ones, get build and installed. 4) Building outside of the source tree is completely untested and very likely does not work. 5) Make [ps|pdf] are not (yet) supported, make [dvi|info] are supported by automake's default texinfo rules. Fixing 2, 3 and 5 is almost trivial and needs to be done. 4) is a matter of testing and tool-properties, for now it is simply untested. General issues: * gif vs jpg vs png. I would recommend to replace all images with pngs to avoid potential copyright issues (gif) or lack in quality (jpg, jpg is good for real world photographs, but extremely poor on artificial images, graphs). * pdf images do net get placed correctly in pdf-documents. * texinfo: We now use a local copy of texinfo-4.0's texinfo.tex in texinfo/texinfo.tex for generating infos. However pdftex's system-wide texinfo.tex and pdftexinfo.tex are used for generating *.dvi, *.ps, *.pdf. * .cvsignore files still missing. * I have renamed the supplements filename not to use c_<supplement>, because automake seems to have problems with it. Notes: * Again, I recommend not to put any generated files into CVS. Here, this comprises some *texi, all *.pdf and many *.html pages. Ie. I recommend to run make maintainer-clean before checking in any files. * To get building started, this should be sufficient: ./bootstrap ./configure cd tools; make; cd .. make info * To make a public tarball: [cvs co ; ./bootstrap] ./configure cd tools; make; cd .. make info [make clean] make dist => This generates a rtems-<version>.tar.gz in the toplevel directory. => Building the tools only is required after a "cvs co", but not in a distribution tarball.
Diffstat (limited to 'doc/started_ada')
-rw-r--r--doc/started_ada/Makefile92
-rw-r--r--doc/started_ada/Makefile.am55
-rw-r--r--doc/started_ada/started_ada.texi2
-rw-r--r--doc/started_ada/tversions.texi (renamed from doc/started_ada/versions.texi)0
4 files changed, 56 insertions, 93 deletions
diff --git a/doc/started_ada/Makefile b/doc/started_ada/Makefile
deleted file mode 100644
index 840aee0ed1..0000000000
--- a/doc/started_ada/Makefile
+++ /dev/null
@@ -1,92 +0,0 @@
-#
-# COPYRIGHT (c) 1988-1999.
-# On-Line Applications Research Corporation (OAR).
-# All rights reserved.
-#
-# $Id$
-#
-
-PROJECT=started_ada
-
-include ../Make.config
-
-all: html info ps pdf
-
-dirs:
- $(make-dirs)
-
-COMMON_FILES=../common/cpright.texi ../common/setup.texi
-
-GENERATED_FILES= buildada.texi buildrt.texi gdb.texi intro.texi \
- require.texi sample.texi
-
-FILES= $(PROJECT).texi versions.texi $(GENERATED_FILES)
-
-INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
-
-info: dirs $(PROJECT)
- #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
- cp $(PROJECT) $(INFO_INSTALL)
-
-$(PROJECT): $(FILES)
- $(MAKEINFO) $(PROJECT).texi
-
-dvi: dirs $(PROJECT).dvi
-ps: dirs $(PROJECT).ps
-pdf: dirs $(PROJECT).pdf
-
-$(PROJECT).pdf: $(FILES)
- #$(TEXI2PDF) $(PROJECT).texi
- #cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).ps: $(PROJECT).dvi
- dvips -o $(PROJECT).ps $(PROJECT).dvi
- cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) $(PROJECT).texi
- cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
-
-intro.texi: intro.t versions.texi
- $(BMENU) -c -p "Top" \
- -u "Top" \
- -n "Requirements" ${*}.t
-
-require.texi: require.t versions.texi
- $(BMENU) -c -p "GNAT Chat Mailing List" \
- -u "Top" \
- -n "Building the GNAT Cross Compiler Toolset" ${*}.t
-
-buildada.texi: buildada.t versions.texi
- $(BMENU) -c -p "Insure GCC and GNAT Environment Variables Are Not Set" \
- -u "Top" \
- -n "Building RTEMS" ${*}.t
-
-buildrt.texi: buildrt.t versions.texi
- $(BMENU) -c -p "Running the bit_ada Script" \
- -u "Top" \
- -n "Building the Sample Application" ${*}.t
-
-sample.texi: sample.t versions.texi
- $(BMENU) -c -p "Using the RTEMS configure Script Directly" \
- -u "Top" \
- -n "Building the GNU Debugger" ${*}.t
-
-gdb.texi: gdb.t versions.texi
- $(BMENU) -c -p "Application Executable" \
- -u "Top" \
- -n "" ${*}.t
-
-html: dirs $(FILES)
- -mkdir -p $(WWW_INSTALL)/$(PROJECT)
- -cp ../started/pictures/sfile12c.jpg $(WWW_INSTALL)/$(PROJECT)
- -cp ../started/pictures/bit_ada.jpg $(WWW_INSTALL)/$(PROJECT)
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
-
-clean:
- rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
- rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
- rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
- rm -f *.fixed _*
-
diff --git a/doc/started_ada/Makefile.am b/doc/started_ada/Makefile.am
new file mode 100644
index 0000000000..e1d7fc37e9
--- /dev/null
+++ b/doc/started_ada/Makefile.am
@@ -0,0 +1,55 @@
+#
+# COPYRIGHT (c) 1988-1999.
+# On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign
+
+PROJECT=started_ada
+
+include $(top_srcdir)/project.am
+
+COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
+
+GENERATED_FILES= buildada.texi buildrt.texi gdb.texi intro.texi \
+ require.texi sample.texi
+
+FILES= tversions.texi
+
+info_TEXINFOS = started_ada.texi
+started_ada_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
+
+intro.texi: intro.t tversions.texi
+ $(BMENU) -c -p "Top" \
+ -u "Top" \
+ -n "Requirements" $<
+
+require.texi: require.t tversions.texi
+ $(BMENU) -c -p "GNAT Chat Mailing List" \
+ -u "Top" \
+ -n "Building the GNAT Cross Compiler Toolset" $<
+
+buildada.texi: buildada.t tversions.texi
+ $(BMENU) -c -p "Insure GCC and GNAT Environment Variables Are Not Set" \
+ -u "Top" \
+ -n "Building RTEMS" $<
+
+buildrt.texi: buildrt.t tversions.texi
+ $(BMENU) -c -p "Running the bit_ada Script" \
+ -u "Top" \
+ -n "Building the Sample Application" $<
+
+sample.texi: sample.t tversions.texi
+ $(BMENU) -c -p "Using the RTEMS configure Script Directly" \
+ -u "Top" \
+ -n "Building the GNU Debugger" $<
+
+gdb.texi: gdb.t tversions.texi
+ $(BMENU) -c -p "Application Executable" \
+ -u "Top" \
+ -n "" $<
+
+EXTRA_DIST = *.t
diff --git a/doc/started_ada/started_ada.texi b/doc/started_ada/started_ada.texi
index 041eb3fab9..2036d45ffb 100644
--- a/doc/started_ada/started_ada.texi
+++ b/doc/started_ada/started_ada.texi
@@ -24,7 +24,7 @@
@c
@c Now set all the tool version dependent information
@c
-@include versions.texi
+@include tversions.texi
@ignore
@ifinfo
diff --git a/doc/started_ada/versions.texi b/doc/started_ada/tversions.texi
index 1396f76e03..1396f76e03 100644
--- a/doc/started_ada/versions.texi
+++ b/doc/started_ada/tversions.texi