source: rtems/doc/FAQ/Makefile @ e112b63

4.104.114.84.95
Last change on this file since e112b63 was 00d11bb7, checked in by Joel Sherrill <joel.sherrill@…>, on 07/15/99 at 15:58:17

Added shell of information on resources for embedded information.

  • 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=FAQ
10
11include ../Make.config
12
13all: html info ps
14
15dirs:
16        $(make-dirs)
17
18COMMON_FILES=../common/cpright.texi ../common/setup.texi
19
20GENERATED_FILES= \
21    basic.texi tools.texi concepts.texi debug.texi freesw.texi \
22    embeddedinfo.texi hwdebugaids.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) $(PROJECT).texi
45        texi2dvi $(PROJECT).texi
46
47html: dirs $(FILES)
48        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
49        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
50            $(PROJECT).texi
51
52clean:
53        rm -f *.o $(PROG) *.txt core
54        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
55        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
56        rm -f *.fixed _*
57
58
59#
60#  Process Automatically Generated Files
61#
62
63basic.texi: basic.t Makefile
64        $(BMENU) -c -p "Top" \
65            -u "Top" \
66            -n "" ${*}.t
67
68tools.texi: tools.t Makefile
69        $(BMENU) -c -p "Top" \
70            -u "Top" \
71            -n "" ${*}.t
72
73concepts.texi: concepts.t Makefile
74        $(BMENU) -c -p "" \
75            -u "Top" \
76            -n "" ${*}.t
77
78debug.texi: debug.t Makefile
79        $(BMENU) -c -p "" \
80            -u "Top" \
81            -n "" ${*}.t
82
83freesw.texi: freesw.t Makefile
84        $(BMENU) -c -p "" \
85            -u "Top" \
86            -n "" ${*}.t
87
88embeddedinfo.texi: embeddedinfo.t Makefile
89        $(BMENU) -c -p "" \
90            -u "Top" \
91            -n "" ${*}.t
92
93
94hwdebugaids.texi: hwdebugaids.t Makefile
95        $(BMENU) -c -p "" \
96            -u "Top" \
97            -n "" ${*}.t
98
Note: See TracBrowser for help on using the repository browser.