source: rtems/doc/FAQ/Makefile @ fe6bc7c

4.104.114.84.95
Last change on this file since fe6bc7c was fe6bc7c, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 21:55:59

First attempt to build.

  • Property mode set to 100644
File size: 1.4 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
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    basic.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) -p "Top" \
65            -u "Top" \
66            -n "" ${*}.t
67
68#target.texi: target.t Makefile
69#       $(BMENU) -p "Introduction" \
70#           -u "Top" \
71#           -n "Makefiles" ${*}.t
Note: See TracBrowser for help on using the repository browser.