source: rtems/doc/tools/pdl2texi/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: 1.4 KB
Line 
1#
2#  COPYRIGHT (c) 1996-1997.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9AUTOMAKE_OPTIONS = foreign
10
11PROG=pdl2texi
12noinst_PROGRAMS=$(PROG)
13
14#$(BASE).texi: $(BASE).d ./$(PROG)
15#       ./$(PROG) $(BASE).d
16
17pdl2texi_SOURCES = \
18address.inl  chain.h      main.c       system.h \
19base.h       chain.inl    address.h    chain.c \
20isr.h
21
22BASE=sample
23
24#drive: Drive
25#Drive: $(BASE).txt
26#       /usr1/home/joel/tmp/makeinfo $(PROJECT).texi
27
28#dvi: $(PROJECT).dvi
29#ps: $(PROJECT).ps
30#info: Drive
31#html: $(PROJECT).texi $(BASE).txt
32#        ../textools/texi2html $(PROJECT).texi
33
34$(BASE).txt: $(BASE).d
35        ./$(PROG) -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
36
37wtest:
38        rm -f $(BASE).txt
39        ./$(PROG) -w -v -p "Turret Subsystem" -u "Turret Subsystem" $(BASE).d
40
41enum:
42        ./$(PROG) -w -v -p "Magic Subsystem" \
43            -u "Magic Subsystem" test_cases/enum.d
44        ./$(PROG) -w -v -p "Magic Subsystem" \
45            -u "Magic Subsystem" test_cases/enumbad.d
46       
47avdas:
48        ./$(PROG) -v -p "Magic Subsystem" \
49            -u "Magic Subsystem" test_cases/avdas.d
50        ./$(PROG) -w -v -p "Magic Subsystem" \
51            -u "Magic Subsystem" test_cases/avdas.d
52       
53clean:
54        rm -f *.o $(PROG) *.txt core *.html $(PROJECT) Drive.texi
55        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
56        rm -f test_cases/*.txt test_cases/*.texi
57
58EXTRA_DIST = test_cases/enum.d test_cases/enumbad.d test_cases/table.d \
59        s.d sample.d
Note: See TracBrowser for help on using the repository browser.