source: rtems/doc/posix_users/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: 2.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=posix_users
10
11include ../Make.config
12
13all: html info ps pdf
14
15dirs:
16        $(make-dirs)
17
18COMMON_FILES=../common/cpright.texi
19
20GENERATED_FILES= \
21   cancel.texi clock.texi cond.texi \
22   cspecific.texi device.texi files.texi \
23   io.texi key.texi memorymgmt.texi message.texi mutex.texi procenv.texi \
24   process.texi sched.texi semaphores.texi signal.texi systemdb.texi \
25   thread.texi
26
27FILES= posix_users.texi preface.texi \
28  $(COMMON_FILES) $(GENERATED_FILES)
29
30INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
31
32info: dirs $(FILES) $(PROJECT)
33#       cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
34        cp $(PROJECT) $(INFO_INSTALL)
35
36$(PROJECT): $(FILES)
37        $(MAKEINFO) posix_users.texi
38
39dvi: $(PROJECT).dvi
40ps: dirs $(PROJECT).ps
41pdf: dirs $(PROJECT).pdf
42       
43$(PROJECT).pdf: $(FILES)
44        $(TEXI2PDF) $(PROJECT).texi
45        cp $(PROJECT).pdf $(PDF_INSTALL)
46       
47$(PROJECT).ps: $(PROJECT).dvi
48        dvips -o $(PROJECT).ps $(PROJECT).dvi
49        cp $(PROJECT).ps $(PS_INSTALL)
50
51$(PROJECT).dvi: $(FILES)
52        $(TEXI2DVI) posix_users.texi
53
54html: dirs $(FILES)
55        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
56        -cd .. ; gmake headers
57        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
58            posix_users.texi
59
60clean:
61        rm -f *.o $(PROG) *.txt core *.html *.pdf
62        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
63        rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES)
64
65process.texi: process.t Makefile
66         $(BMENU) -p "" \
67            -u "Top" \
68            -n "" ${*}.t
69
70procenv.texi: procenv.t Makefile
71         $(BMENU) -p "" \
72            -u "Top" \
73            -n "" ${*}.t
74
75files.texi: files.t Makefile
76         $(BMENU) -p "" \
77            -u "Top" \
78            -n "" ${*}.t
79
80thread.texi: thread.t Makefile
81         $(BMENU) -p "" \
82            -u "Top" \
83            -n "" ${*}.t
84
85signal.texi: signal.t Makefile
86         $(BMENU) -p "" \
87            -u "Top" \
88            -n "" ${*}.t
89
90mutex.texi: mutex.t Makefile
91         $(BMENU) -p "" \
92            -u "Top" \
93            -n "" ${*}.t
94
95cond.texi: cond.t Makefile
96         $(BMENU) -p "" \
97            -u "Top" \
98            -n "" ${*}.t
99
100key.texi: key.t Makefile
101         $(BMENU) -p "" \
102            -u "Top" \
103            -n "" ${*}.t
104
105clock.texi: clock.t Makefile
106         $(BMENU) -p "" \
107            -u "Top" \
108            -n "" ${*}.t
109
110sched.texi: sched.t Makefile
111         $(BMENU) -p "" \
112            -u "Top" \
113            -n "" ${*}.t
114
115io.texi: io.t Makefile
116         $(BMENU) -p "" \
117            -u "Top" \
118            -n "" ${*}.t
119
120device.texi: device.t Makefile
121         $(BMENU) -p "" \
122            -u "Top" \
123            -n "" ${*}.t
124
125cspecific.texi: cspecific.t Makefile
126         $(BMENU) -p "" \
127            -u "Top" \
128            -n "" ${*}.t
129
130semaphores.texi: semaphores.t Makefile
131         $(BMENU) -p "" \
132            -u "Top" \
133            -n "" ${*}.t
134
135memorymgmt.texi: memorymgmt.t Makefile
136         $(BMENU) -p "" \
137            -u "Top" \
138            -n "" ${*}.t
139
140message.texi: message.t Makefile
141         $(BMENU) -p "" \
142            -u "Top" \
143            -n "" ${*}.t
144
145cancel.texi: cancel.t Makefile
146         $(BMENU) -p "" \
147            -u "Top" \
148            -n "" ${*}.t
149
150systemdb.texi: systemdb.t Makefile
151         $(BMENU) -p "" \
152            -u "Top" \
153            -n "" ${*}.t
154
Note: See TracBrowser for help on using the repository browser.