source: rtems/doc/started/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.4 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
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= buildc.texi buildrt.texi gdb.texi intro.texi \
21    nt.texi 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        texi2dvi $(PROJECT).texi
50
51intro.texi: intro.t versions.texi
52        $(BMENU) -c -p "Top" \
53            -u "Top" \
54            -n "Requirements" ${*}.t
55
56require.texi: require.t versions.texi
57        $(BMENU) -c -p "EGCS Mailing List" \
58            -u "Top" \
59            -n "Building the GNU C/C++ Cross Compiler Toolset" ${*}.t
60
61buildc.texi: buildc.t versions.texi
62        $(BMENU) -c -p "GNU makeinfo Version Requirements" \
63            -u "Top" \
64            -n "Building RTEMS" ${*}.t
65
66buildrt.texi: buildrt.t versions.texi
67        $(BMENU) -c -p "Error Messages Indicating Configuration Problems" \
68            -u "Top" \
69            -n "Building the Sample Application" ${*}.t
70
71sample.texi: sample.t versions.texi
72        $(BMENU) -c -p "Using the RTEMS configure Script Directly" \
73            -u "Top" \
74            -n "Building the GNU Debugger" ${*}.t
75
76gdb.texi: gdb.t versions.texi
77        $(BMENU) -c -p "Application Executable" \
78            -u "Top" \
79            -n "Using MS-Windows as a Development Host" ${*}.t
80
81nt.texi: nt.t versions.texi
82        $(BMENU) -c -p "GDB for DINK32" \
83            -u "Top" \
84            -n "" ${*}.t
85
86html: dirs $(FILES)
87        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
88        -cp pictures/sfile12c.jpg $(WWW_INSTALL)/$(PROJECT)
89        -cp pictures/bit_c.jpg $(WWW_INSTALL)/$(PROJECT)
90        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
91            $(PROJECT).texi
92
93clean:
94        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
95        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
96        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
97        rm -f *.fixed _*
98
Note: See TracBrowser for help on using the repository browser.