source: rtems/doc/filesystem/Makefile @ 196b3c9

4.104.114.84.95
Last change on this file since 196b3c9 was 196b3c9, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 13:50:27

First cut at complete document under CVS and texinfo.

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