source: rtems/doc/started_ada/Makefile @ dd265c0

4.104.114.84.95
Last change on this file since dd265c0 was dd265c0, checked in by Joel Sherrill <joel.sherrill@…>, on 10/07/99 at 18:22:24

Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.

Disabled building of pdf for both the C and Ada Getting Started manuals
because texi2pdf can not handle the construct:

@set URL http://www.rtems.com
@uref{@value{URL},@value{URL}}

It will be reenabled as soon as this problem is fixed.

  • Property mode set to 100644
File size: 2.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=started_ada
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= buildada.texi buildrt.texi gdb.texi intro.texi \
21    require.texi sample.texi
22
23FILES= $(PROJECT).texi versions.texi $(GENERATED_FILES)
24
25INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
26
27info: dirs $(PROJECT)
28        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
29        cp $(PROJECT) $(INFO_INSTALL)
30
31$(PROJECT): $(FILES)
32        $(MAKEINFO) $(PROJECT).texi
33
34dvi: $(PROJECT).dvi
35ps: dirs $(PROJECT).ps
36pdf: dirs $(PROJECT).pdf
37       
38$(PROJECT).pdf: $(FILES)
39        #$(TEXI2PDF) $(PROJECT).texi
40        #cp $(PROJECT).pdf $(PDF_INSTALL)
41       
42$(PROJECT).ps: $(PROJECT).dvi
43        dvips -o $(PROJECT).ps $(PROJECT).dvi
44        cp $(PROJECT).ps $(PS_INSTALL)
45
46# run texi2dvi twice to generate the xref's properly.
47$(PROJECT).dvi: $(FILES)
48        $(TEXI2DVI) $(PROJECT).texi
49
50intro.texi: intro.t versions.texi
51        $(BMENU) -c -p "Top" \
52            -u "Top" \
53            -n "Requirements" ${*}.t
54
55require.texi: require.t versions.texi
56        $(BMENU) -c -p "GNAT Chat Mailing List" \
57            -u "Top" \
58            -n "Building the GNAT Cross Compiler Toolset" ${*}.t
59
60buildada.texi: buildada.t versions.texi
61        $(BMENU) -c -p "Insure GCC and GNAT Environment Variables Are Not Set" \
62            -u "Top" \
63            -n "Building RTEMS" ${*}.t
64
65buildrt.texi: buildrt.t versions.texi
66        $(BMENU) -c -p "Running the bit_ada Script" \
67            -u "Top" \
68            -n "Building the Sample Application" ${*}.t
69
70sample.texi: sample.t versions.texi
71        $(BMENU) -c -p "Using the RTEMS configure Script Directly" \
72            -u "Top" \
73            -n "Building the GNU Debugger" ${*}.t
74
75gdb.texi: gdb.t versions.texi
76        $(BMENU) -c -p "Application Executable" \
77            -u "Top" \
78            -n "" ${*}.t
79
80html: dirs $(FILES)
81        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
82        -cp ../started/pictures/sfile12c.jpg $(WWW_INSTALL)/$(PROJECT)
83        -cp ../started/pictures/bit_ada.jpg $(WWW_INSTALL)/$(PROJECT)
84        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
85            $(PROJECT).texi
86
87clean:
88        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
89        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
90        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
91        rm -f *.fixed _*
92
Note: See TracBrowser for help on using the repository browser.