source: rtems/doc/started/Makefile @ 417fcc73

4.104.114.84.95
Last change on this file since 417fcc73 was 417fcc73, checked in by Joel Sherrill <joel.sherrill@…>, on 04/09/98 at 19:18:04

base version

  • Property mode set to 100644
File size: 1.9 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    require.texi sample.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: $(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        texi2dvi -v $(PROJECT).texi
46
47intro.texi: intro.t
48        $(BMENU) -c -p "Top" \
49            -u "Top" \
50            -n "Requirements" ${*}.t
51
52require.texi: require.t
53        $(BMENU) -c -p "Introduction" \
54            -u "Top" \
55            -n "Building the GNU C/C++ Cross Compiler Toolset" ${*}.t
56
57buildc.texi: buildc.t
58        $(BMENU) -c -p "Requirements" \
59            -u "Top" \
60            -n "Building RTEMS" ${*}.t
61
62buildrt.texi: buildrt.t
63        $(BMENU) -c -p "Running the bit script" \
64            -u "Top" \
65            -n "Building the Sample Application" ${*}.t
66
67sample.texi: sample.t
68        $(BMENU) -c -p "Generate RTEMS for a specific target and board support package" \
69            -u "Top" \
70            -n "Building the GNU Debugger" ${*}.t
71
72gdb.texi: gdb.t
73        $(BMENU) -c -p "Application executable" \
74            -u "Top" \
75            -n "Command and Variable Index" ${*}.t
76
77html: dirs $(FILES)
78        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
79        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
80            $(PROJECT).texi
81
82clean:
83        rm -f *.o $(PROG) *.txt core
84        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
85        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
86        rm -f *.fixed _*
87
Note: See TracBrowser for help on using the repository browser.