source: rtems/doc/filesystem/Makefile @ 4d77134

4.104.114.84.95
Last change on this file since 4d77134 was 4d77134, checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/99 at 18:26:28

Added initial version of 3 other chapters.

  • Property mode set to 100644
File size: 2.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=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=basefs.texi applayering.texi patheval.texi \
25    init.texi mounting.texi
26
27FILES= $(PROJECT).texi \
28  preface.texi $(GENERATED_FILES)
29
30INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
31
32info: dirs networking
33        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
34        cp $(PROJECT) $(INFO_INSTALL)
35
36networking: $(FILES)
37        $(MAKEINFO) $(PROJECT).texi
38
39dvi: dirs $(PROJECT).dvi
40ps: dirs $(PROJECT).ps
41pdf: dirs $(PROJECT).pdf
42       
43$(PROJECT).pdf: $(FILES)
44        $(TEXI2PDF) $(PROJECT).texi
45        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
46       
47$(PROJECT).ps: $(PROJECT).dvi
48        dvips -o $(PROJECT).ps $(PROJECT).dvi
49        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
50
51$(PROJECT).dvi: $(FILES)
52        $(TEXI2DVI) $(PROJECT).texi
53        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
54
55basefs.texi: basefs.t Makefile
56        $(BMENU) -p "Preface" \
57           -u "Top" \
58           -n "" ${*}.t
59
60applayering.texi: applayering.t Makefile
61        $(BMENU) -p "" \
62           -u "Top" \
63           -n "" ${*}.t
64
65patheval.texi: patheval.t Makefile
66        $(BMENU) -p "" \
67           -u "Top" \
68           -n "" ${*}.t
69
70init.texi: init.t Makefile
71        $(BMENU) -p "" \
72           -u "Top" \
73           -n "" ${*}.t
74
75mounting.texi: mounting.t Makefile
76        $(BMENU) -p "" \
77           -u "Top" \
78           -n "" ${*}.t
79
80html: dirs $(FILES)
81        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
82        # rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
83        # rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.png
84        # rm -f $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
85        # cp recvbd.jpg $(WWW_INSTALL)/$(PROJECT)/recvbd.jpg
86        # cp networkflow.jpg $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
87        # cp networkflow.png $(WWW_INSTALL)/$(PROJECT)/networkflow.png
88        # cp PCIreg.jpg $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
89        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
90            $(PROJECT).texi
91
92clean:
93        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
94        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
95        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
96        rm -f networking networking-*
97        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
98        rm -f timetbl.t wksheets.t
99        rm -f *.fixed _*
100
101convert:
102#       /usr/bin/gs -dMaxBitmap=300000000 -g5500x7500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER  -sOutputFile=networkflow.pdf -- networkflow.eps -c -quit
103#       /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=PCIreg.pdf -- PCIreg.eps -c -quit
104#       /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.