source: rtems/doc/porting/Makefile.am @ 2ba8875

4.104.114.84.95
Last change on this file since 2ba8875 was 2ba8875, checked in by Joel Sherrill <joel.sherrill@…>, on 04/26/00 at 18:02:26

Patch rtemsdoc-4.5.0-rc-0.diff from Ralf Corsepius <corsepiu@…>
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.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1999.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9AUTOMAKE_OPTIONS = foreign
10
11PROJECT=porting
12
13include $(top_srcdir)/project.am
14
15COMMON_FILES=$(top_srcdir)/common/cpright.texi
16
17FILES=preface.texi developtools.texi sourcecode.texi cpumodels.texi \
18  cpuinit.texi interrupts.texi taskcontext.texi idlethread.texi \
19  prioritybitmap.texi codetuning.texi miscellaneous.texi $(COMMON_FILES)
20
21GENERATED_FILES=developtools.texi sourcecode.texi cpumodels.texi \
22  cpuinit.texi interrupts.texi taskcontext.texi idlethread.texi \
23  prioritybitmap.texi codetuning.texi miscellaneous.texi
24
25info_TEXINFOS = porting.texi
26porting_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
27
28developtools.texi: developtools.t
29        $(BMENU) -p "Preface" \
30            -u "Top" \
31            -n "Source Code Organization" $<
32
33sourcecode.texi: sourcecode.t
34        $(BMENU) -p "Development Tools" \
35            -u "Top" \
36            -n "CPU Model Variations" $<
37
38cpumodels.texi: cpumodels.t
39        $(BMENU) -p "Source Code Organization Introduction" \
40            -u "Top" \
41            -n "CPU Initialization" $<
42
43cpuinit.texi: cpuinit.t
44        $(BMENU) -p "CPU Model Variations Coding Issues" \
45            -u "Top" \
46            -n "Interrupts" $<
47
48interrupts.texi: interrupts.t
49        $(BMENU) -p "CPU Initialization Initializing the CPU" \
50            -u "Top" \
51            -n "Task Context Management" $<
52
53taskcontext.texi: taskcontext.t
54        $(BMENU) -p "Interrupts Pointer to _Thread_Dispatch Routine" \
55            -u "Top" \
56            -n "IDLE Thread" $<
57
58idlethread.texi: idlethread.t
59        $(BMENU) -p "Task Context Management Restoring a Floating Point Context" \
60            -u "Top" \
61            -n "Priority Bitmap Manipulation" $<
62
63prioritybitmap.texi: prioritybitmap.t
64        $(BMENU) -p "IDLE Thread Idle Thread Body" \
65            -u "Top" \
66            -n "Code Tuning Parameters" $<
67
68codetuning.texi: codetuning.t
69        $(BMENU) -p "Priority Bitmap Manipulation Bit Scan Support" \
70            -u "Top" \
71            -n "Miscellaneous" $<
72
73miscellaneous.texi: miscellaneous.t
74        $(BMENU) -p "Code Tuning Parameters Partition Element Alignment" \
75            -u "Top" \
76            -n "Command and Variable Index" $<
77
78EXTRA_DIST = *.t
Note: See TracBrowser for help on using the repository browser.