source: rtems/doc/ada_user/Makefile @ 2ec1156

4.104.114.84.95
Last change on this file since 2ec1156 was 2ec1156, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 21:33:42

Added files generated by index process to clean stanza.

  • Property mode set to 100644
File size: 2.1 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=ada_user
10
11include ../Make.config
12
13all: html info ps pdf
14
15COMMON_FILES=../common/cpright.texi ../user/bsp.texi ../user/clock.texi \
16  ../user/concepts.texi ../user/conf.texi ../user/dirstat.texi \
17  ../user/dpmem.texi ../user/event.texi \
18  ../user/fatal.texi ../user/glossary.texi ../user/init.texi \
19  ../user/intr.texi ../user/io.texi ../user/mp.texi ../user/msg.texi \
20  ../user/overview.texi ../user/part.texi ../user/preface.texi \
21  ../user/region.texi ../user/rtmon.texi ../user/schedule.texi \
22  ../user/sem.texi ../user/signal.texi ../user/task.texi \
23  ../user/timer.texi ../user/userext.texi
24FILES= ada_user.texi example.texi $(COMMON_FILES)
25
26LINKFILES=../user/rtemspie.eps ../user/rtemspie.pdf \
27          ../user/states.eps ../user/states.pdf
28
29dirs: links
30        $(make-dirs)
31
32links:
33        cp  $(LINKFILES) .
34
35INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
36
37info: dirs $(PROJECT)
38        cp $(shell ls -1 $(PROJECT) $(PROJECT)-* 2>/dev/null) $(INFO_INSTALL)
39
40$(PROJECT): $(FILES)
41        $(MAKEINFO) $(PROJECT).texi
42
43dvi: dirs $(PROJECT).dvi
44ps: dirs $(PROJECT).ps
45pdf: dirs $(PROJECT).pdf
46       
47$(PROJECT).pdf: $(FILES)
48        $(TEXI2PDF) $(PROJECT).texi
49        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
50
51$(PROJECT).ps: dirs $(PROJECT).dvi
52        dvips -o $(PROJECT).ps $(PROJECT).dvi
53        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
54
55$(PROJECT).dvi: $(FILES)
56        $(TEXI2DVI) $(PROJECT).texi
57        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
58
59html: dirs $(FILES)
60        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
61        cp ../user/rtemsarc.gif ../user/rtemspie.gif ../user/states.gif \
62           $(WWW_INSTALL)/$(PROJECT)
63        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
64            $(PROJECT).texi
65
66# This is one of the few document directories without its own eps and pdf
67# files.  Thus it can safely remove *.pdf and *.eps.
68clean:
69        rm -f *.o $(PROG) *.txt core *.html *.pdf *.eps
70        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
71        rm -f $(PROJECT) $(PROJECT)-* _*
72        rm -f *.cps *.cpss *.fns *.jkys *.pgs *.tps *.vrs
73
Note: See TracBrowser for help on using the repository browser.