source: rtems/doc/rgdb_specs/Makefile @ ed11cadf

4.104.114.84.95
Last change on this file since ed11cadf was ed11cadf, checked in by Joel Sherrill <joel.sherrill@…>, on 10/01/99 at 17:44:06

Numerous minor changes required to transition to the latest version
of texinfo and TeX. This version of the tools can produce PDF with
figures included.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1998.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9PROJECT=rgdb_specs
10
11include ../Make.config
12
13all: html info ps pdf
14
15dirs:
16        $(make-dirs)
17
18COMMON_FILES=../common/cpright.texi ../common/setup.texi
19
20GENERATED_FILES= \
21    intro.texi revision.texi objectives.texi gdbinternals.texi \
22    interfacing.texi comm.texi daemon.texi conclusion.texi
23
24FILES=$(PROJECT).texi $(GENERATED_FILES)
25
26INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
27
28info: dirs $(PROJECT)
29        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
30        # cp $(PROJECT) $(INFO_INSTALL)
31
32$(PROJECT): $(FILES)
33        $(MAKEINFO) $(PROJECT).texi
34
35dvi: $(PROJECT).dvi
36ps: dirs $(PROJECT).ps
37pdf: dirs $(PROJECT).pdf
38       
39$(PROJECT).pdf: $(FILES)
40        $(TEXI2PDF) $(PROJECT).texi
41        cp $(PROJECT).pdf $(PDF_INSTALL)
42       
43$(PROJECT).ps: $(PROJECT).dvi
44        dvips -o $(PROJECT).ps $(PROJECT).dvi
45        cp $(PROJECT).ps $(PS_INSTALL)
46
47# run texi2dvi twice to generate the xref's properly.
48$(PROJECT).dvi: $(FILES)
49        $(TEXI2DVI) $(PROJECT).texi
50        texi2dvi $(PROJECT).texi
51
52html: dirs $(FILES)
53        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
54        cp $(wildcard *.jpg) $(WWW_INSTALL)/$(PROJECT)
55        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
56            $(PROJECT).texi
57
58clean:
59        rm -f *.o $(PROG) *.txt core *.pdf
60        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
61        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
62        rm -f *.fixed _*
63
64#
65#  Process Automatically Generated Files
66#
67
68intro.texi: intro.t Makefile
69        $(BMENU) -c -p "Top" \
70            -u "Top" \
71            -n "Document Revision History" ${*}.t
72
73revision.texi: revision.t Makefile
74        $(BMENU) -c -p "Introduction" \
75            -u "Top" \
76            -n "Objectives" ${*}.t
77
78objectives.texi: objectives.t Makefile
79        $(BMENU) -c -p "Document Revision History" \
80            -u "Top" \
81            -n "A Rapid Tour of GDB Internals" ${*}.t
82
83gdbinternals.texi: gdbinternals.t Makefile
84        $(BMENU) -c -p "Implied Restrictions" \
85            -u "Top" \
86            -n "Interfacing GDB with RTEMS as a Target" ${*}.t
87
88interfacing.texi: interfacing.t Makefile
89        $(BMENU) -c -p "A Rapid Tour of GDB Internals" \
90            -u "Top" \
91            -n "Communication with GDB" ${*}.t
92
93comm.texi: comm.t Makefile
94        $(BMENU) -c -p "Interfacing GDB with RTEMS as a Target" \
95            -u "Top" \
96            -n "RTEMS Debugger Server Daemon" ${*}.t
97
98daemon.texi: daemon.t Makefile
99        $(BMENU) -c -p "Communication with GDB" \
100            -u "Top" \
101            -n "Conclusion" ${*}.t
102
103conclusion.texi: conclusion.t Makefile
104        $(BMENU) -c -p "Output of a Debug Session with the Prototype" \
105            -u "Top" \
106            -n "" ${*}.t
107
108
Note: See TracBrowser for help on using the repository browser.