source: rtems/doc/filesystem/Makefile @ aa083e49

4.104.114.84.95
Last change on this file since aa083e49 was aa083e49, checked in by Joel Sherrill <joel.sherrill@…>, on 10/07/99 at 22:07:50

Built with preface for info.

  • 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=filesystem
10
11include ../Make.config
12
13REPLACE=../tools/word-replace
14
15BMENU+= -c
16
17all: html info ps pdf
18
19dirs:
20        $(make-dirs)
21
22COMMON_FILES=../common/cpright.texi ../common/setup.texi
23
24GENERATED_FILES=
25
26FILES= $(PROJECT).texi \
27  preface.texi $(GENERATED_FILES)
28
29INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
30
31info: dirs networking
32        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
33        cp $(PROJECT) $(INFO_INSTALL)
34
35networking: $(FILES)
36        $(MAKEINFO) $(PROJECT).texi
37
38dvi: dirs $(PROJECT).dvi
39ps: dirs $(PROJECT).ps
40pdf: dirs $(PROJECT).pdf
41       
42$(PROJECT).pdf: $(FILES)
43        $(TEXI2PDF) $(PROJECT).texi
44        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
45       
46$(PROJECT).ps: $(PROJECT).dvi
47        dvips -o $(PROJECT).ps $(PROJECT).dvi
48        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
49
50$(PROJECT).dvi: $(FILES)
51        $(TEXI2DVI) $(PROJECT).texi
52        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
53
54networktasks.texi: networktasks.t Makefile
55        $(BMENU) -p "Preface" \
56           -u "Top" \
57           -n "Networking Driver" ${*}.t
58
59driver.texi: driver.t Makefile
60        $(BMENU) -p "Network Task Structure and Data Flow" \
61           -u "Top" \
62           -n "Using Networking in an RTEMS Application" ${*}.t
63
64networkapp.texi: networkapp.t Makefile
65        $(BMENU) -p "Write the Driver Statistic-Printing Function" \
66           -u "Top" \
67           -n "Testing the Driver" ${*}.t
68
69testing.texi: testing.t Makefile
70        $(BMENU) -p "Socket Options" \
71           -u "Top" \
72           -n "Network Servers" ${*}.t
73
74servers.texi: servers.t Makefile
75        $(BMENU) -p "Throughput" \
76           -u "Top" \
77           -n "DEC 21140 Driver" ${*}.t
78
79decdriver.texi: decdriver.t Makefile
80        $(BMENU) -p "Using Hooks" \
81           -u "Top" \
82           -n "Command and Variable Index" ${*}.t
83
84html: dirs $(FILES)
85        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
86        rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
87        rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.png
88        rm -f $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
89        cp recvbd.jpg $(WWW_INSTALL)/$(PROJECT)/recvbd.jpg
90        cp networkflow.jpg $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
91        cp networkflow.png $(WWW_INSTALL)/$(PROJECT)/networkflow.png
92        cp PCIreg.jpg $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
93        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
94            $(PROJECT).texi
95
96clean:
97        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
98        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
99        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
100        rm -f networking networking-*
101        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
102        rm -f timetbl.t wksheets.t
103        rm -f *.fixed _*
104
105convert:
106        /usr/bin/gs -dMaxBitmap=300000000 -g5500x7500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER  -sOutputFile=networkflow.pdf -- networkflow.eps -c -quit
107        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=PCIreg.pdf -- PCIreg.eps -c -quit
108        /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=recvbd.pdf -- recvbd.eps -c -quit
Note: See TracBrowser for help on using the repository browser.