source: rtems/doc/rgdb_specs/Makefile @ f96d62ca

4.104.114.84.95
Last change on this file since f96d62ca was f96d62ca, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 20:00:09

Cleaned up to install dvi, use native texi2dvi, etc..

  • Property mode set to 100644
File size: 3.3 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: dirs $(PROJECT).dvi
36ps: dirs $(PROJECT).ps
37pdf: dirs $(PROJECT).pdf
38       
39$(PROJECT).pdf: $(FILES)
40        $(TEXI2PDF) $(PROJECT).texi
41        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
42       
43$(PROJECT).ps: $(PROJECT).dvi
44        dvips -o $(PROJECT).ps $(PROJECT).dvi
45        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
46
47$(PROJECT).dvi: $(FILES)
48        $(TEXI2DVI) $(PROJECT).texi
49        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
50
51html: dirs $(FILES)
52        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
53        cp $(wildcard *.jpg) $(WWW_INSTALL)/$(PROJECT)
54        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
55            $(PROJECT).texi
56
57clean:
58        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
59        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
60        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
61        rm -f *.fixed _*
62
63#
64#  Process Automatically Generated Files
65#
66
67intro.texi: intro.t Makefile
68        $(BMENU) -c -p "Top" \
69            -u "Top" \
70            -n "Document Revision History" ${*}.t
71
72revision.texi: revision.t Makefile
73        $(BMENU) -c -p "Introduction" \
74            -u "Top" \
75            -n "Objectives" ${*}.t
76
77objectives.texi: objectives.t Makefile
78        $(BMENU) -c -p "Document Revision History" \
79            -u "Top" \
80            -n "A Rapid Tour of GDB Internals" ${*}.t
81
82gdbinternals.texi: gdbinternals.t Makefile
83        $(BMENU) -c -p "Implied Restrictions" \
84            -u "Top" \
85            -n "Interfacing GDB with RTEMS as a Target" ${*}.t
86
87interfacing.texi: interfacing.t Makefile
88        $(BMENU) -c -p "A Rapid Tour of GDB Internals" \
89            -u "Top" \
90            -n "Communication with GDB" ${*}.t
91
92comm.texi: comm.t Makefile
93        $(BMENU) -c -p "Interfacing GDB with RTEMS as a Target" \
94            -u "Top" \
95            -n "RTEMS Debugger Server Daemon" ${*}.t
96
97daemon.texi: daemon.t Makefile
98        $(BMENU) -c -p "Communication with GDB" \
99            -u "Top" \
100            -n "Conclusion" ${*}.t
101
102conclusion.texi: conclusion.t Makefile
103        $(BMENU) -c -p "Output of a Debug Session with the Prototype" \
104            -u "Top" \
105            -n "" ${*}.t
106
107convert:
108        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=garde.pdf -- garde.eps -c -quit
109        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=layers.pdf -- layers.eps -c -quit
110        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=process.pdf -- process.eps -c -quit
111        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seqinit.pdf -- seqinit.eps -c -quit
112        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seqbreak.pdf -- seqbreak.eps -c -quit
113        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seqdetach.pdf -- seqdetach.eps -c -quit
114
Note: See TracBrowser for help on using the repository browser.