source: rtems/doc/ada_user/Makefile @ ed11cadf

4.104.114.84.95
Last change on this file since ed11cadf was ed11cadf, checked in by Joel Sherrill <joel.sherrill@…>, on 10/01/99 at 17:44:06

Numerous minor changes required to transition to the latest version
of texinfo and TeX. This version of the tools can produce PDF with
figures included.

  • Property mode set to 100644
File size: 1.7 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
26dirs:
27        $(make-dirs)
28
29INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
30
31info: dirs ada_user
32        cp $(shell ls -1 $(PROJECT) $(PROJECT)-* 2>/dev/null) $(INFO_INSTALL)
33
34ada_user: $(FILES)
35        $(MAKEINFO) $(PROJECT).texi
36
37dvi: $(PROJECT).dvi
38ps: dirs $(PROJECT).ps
39pdf: dirs $(PROJECT).pdf
40       
41$(PROJECT).pdf: $(FILES)
42        $(TEXI2PDF) $(PROJECT).texi
43        cp $(PROJECT).pdf $(PDF_INSTALL)
44
45$(PROJECT).ps: dirs $(PROJECT).dvi
46        dvips -o $(PROJECT).ps $(PROJECT).dvi
47        cp $(PROJECT).ps $(PS_INSTALL)
48
49$(PROJECT).dvi: $(FILES)
50        $(TEXI2DVI) $(PROJECT).texi
51
52html: dirs $(FILES)
53        -mkdir -p $(WWW_INSTALL)/ada_user
54        cp ../user/rtemsarc.gif ../user/rtemspie.gif ../user/states.gif \
55           $(WWW_INSTALL)/ada_user
56        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
57            $(PROJECT).texi
58
59clean:
60        rm -f *.o $(PROG) *.txt core *.html *.pdf
61        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
62        rm -f ada_user ada_user-* _*
63
Note: See TracBrowser for help on using the repository browser.