source: rtems/doc/started/Makefile @ cdf30aba

4.104.114.84.95
Last change on this file since cdf30aba was cdf30aba, checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/98 at 19:28:20

Update from David Fiddes.

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