source: rtems/doc/rtems_gdb/Makefile @ 387f41a

4.104.114.84.95
Last change on this file since 387f41a was 387f41a, checked in by Joel Sherrill <joel.sherrill@…>, on 02/10/99 at 18:33:15

Base version.

  • Property mode set to 100644
File size: 1.8 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=rtems_gdb
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= \
22    intro.t swarch.t started.t commands.t trouble.t example.t
23
24
25FILES=$(PROJECT).texi $(GENERATED_FILES)
26
27INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
28
29info: dirs $(PROJECT)
30        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
31        # cp $(PROJECT) $(INFO_INSTALL)
32
33$(PROJECT): $(FILES)
34        $(MAKEINFO) $(PROJECT).texi
35
36dvi: $(PROJECT).dvi
37ps: dirs $(PROJECT).ps
38       
39$(PROJECT).ps: $(PROJECT).dvi
40        dvips -o $(PROJECT).ps $(PROJECT).dvi
41        cp $(PROJECT).ps $(PS_INSTALL)
42
43# run texi2dvi twice to generate the xref's properly.
44$(PROJECT).dvi: $(FILES)
45        $(TEXI2DVI) $(PROJECT).texi
46        texi2dvi $(PROJECT).texi
47
48html: dirs $(FILES)
49        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
50        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
51            $(PROJECT).texi
52
53clean:
54        rm -f *.o $(PROG) *.txt core
55        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
56        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
57        rm -f *.fixed _* network.t
58
59#
60#  Process Automatically Generated Files
61#
62
63intro.texi: intro.t Makefile
64        $(BMENU) -p "Top" \
65            -u "Top" \
66            -n "" ${*}.t
67
68swarch.texi: swarch.t Makefile
69        $(BMENU) -p "Top" \
70            -u "Top" \
71            -n "" ${*}.t
72
73started.texi: started.t Makefile
74        $(BMENU) -p "Top" \
75            -u "Top" \
76            -n "" ${*}.t
77
78commands.texi: commands.t Makefile
79        $(BMENU) -p "Top" \
80            -u "Top" \
81            -n "" ${*}.t
82
83trouble.texi: trouble.t Makefile
84        $(BMENU) -p "Top" \
85            -u "Top" \
86            -n "" ${*}.t
87
88example.texi: example.t Makefile
89        $(BMENU) -p "Top" \
90            -u "Top" \
91            -n "" ${*}.t
92
Note: See TracBrowser for help on using the repository browser.