source: rtems/doc/started_ada/Makefile @ 829a116

4.104.114.84.9
Last change on this file since 829a116 was 829a116, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 27, 1998 at 8:40:22 PM

Corrected 2nd invocation of texi2dvi so indices are built.

  • Property mode set to 100644
File size: 2.1 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
10DISTRIBUTION_LEVEL=public
11
12include ../Make.config
13
14all: html info ps
15
16dirs:
17        $(make-dirs)
18
19COMMON_FILES=../common/cpright.texi ../common/setup.texi
20
21GENERATED_FILES= buildada.texi buildrt.texi gdb.texi intro.texi \
22    require.texi sample.texi
23
24FILES= $(PROJECT).texi versions.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
37       
38$(PROJECT).ps: $(PROJECT).dvi
39        dvips -o $(PROJECT).ps $(PROJECT).dvi
40        cp $(PROJECT).ps $(PS_INSTALL)
41
42# run texi2dvi twice to generate the xref's properly.
43$(PROJECT).dvi: $(FILES)
44        $(TEXI2DVI) -v $(PROJECT).texi
45
46intro.texi: intro.t versions.texi
47        $(BMENU) -c -p "Top" \
48            -u "Top" \
49            -n "Requirements" ${*}.t
50
51require.texi: require.t versions.texi
52        $(BMENU) -c -p "GNAT Chat Mailing List" \
53            -u "Top" \
54            -n "Building the GNAT Cross Compiler Toolset" ${*}.t
55
56buildada.texi: buildada.t versions.texi
57        $(BMENU) -c -p "Insure GCC and GNAT Environment Variables Are Not Set" \
58            -u "Top" \
59            -n "Building RTEMS" ${*}.t
60
61buildrt.texi: buildrt.t versions.texi
62        $(BMENU) -c -p "Running the bit_ada Script" \
63            -u "Top" \
64            -n "Building the Sample Application" ${*}.t
65
66sample.texi: sample.t versions.texi
67        $(BMENU) -c -p "Using the RTEMS configure Script Directly" \
68            -u "Top" \
69            -n "Building the GNU Debugger" ${*}.t
70
71gdb.texi: gdb.t versions.texi
72        $(BMENU) -c -p "Application Executable" \
73            -u "Top" \
74            -n "" ${*}.t
75
76html: dirs $(FILES)
77        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
78        -cp ../started/pictures/sfile12c.jpg $(WWW_INSTALL)/$(PROJECT)
79        -cp ../started/pictures/bit_ada.jpg $(WWW_INSTALL)/$(PROJECT)
80        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
81            $(PROJECT).texi
82
83clean:
84        rm -f *.o $(PROG) *.txt core
85        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
86        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
87        rm -f *.fixed _*
88
Note: See TracBrowser for help on using the repository browser.