source: rtems/doc/filesystem/Makefile @ fb02e4c4

4.104.114.84.95
Last change on this file since fb02e4c4 was 7441fe2c, checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/99 at 21:54:40

Made many changes to turn the outline into something more like a manual
and less like a collection of notes.

  • Property mode set to 100644
File size: 2.8 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=patheval.texi \
25    init.texi mounting.texi fsrequirements.texi imfs.texi \
26    syscalls.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
56patheval.texi: patheval.t Makefile
57        $(BMENU) -p "" \
58           -u "Top" \
59           -n "" ${*}.t
60
61init.texi: init.t Makefile
62        $(BMENU) -p "" \
63           -u "Top" \
64           -n "" ${*}.t
65
66mounting.texi: mounting.t Makefile
67        $(BMENU) -p "" \
68           -u "Top" \
69           -n "" ${*}.t
70
71fsrequirements.texi: fsrequirements.t Makefile
72        $(BMENU) -p "" \
73           -u "Top" \
74           -n "" ${*}.t
75
76imfs.texi: imfs.t Makefile
77        $(BMENU) -p "" \
78           -u "Top" \
79           -n "" ${*}.t
80
81syscalls.texi: syscalls.t Makefile
82        $(BMENU) -p "" \
83           -u "Top" \
84           -n "" ${*}.t
85
86html: dirs $(FILES)
87        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
88        # rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
89        # rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.png
90        # rm -f $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
91        # cp recvbd.jpg $(WWW_INSTALL)/$(PROJECT)/recvbd.jpg
92        # cp networkflow.jpg $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
93        # cp networkflow.png $(WWW_INSTALL)/$(PROJECT)/networkflow.png
94        # cp PCIreg.jpg $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
95        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
96            $(PROJECT).texi
97
98clean:
99        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
100        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
101        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
102        rm -f networking networking-*
103        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
104        rm -f timetbl.t wksheets.t
105        rm -f *.fixed _*
106
107convert:
108#       /usr/bin/gs -dMaxBitmap=300000000 -g5500x7500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER  -sOutputFile=networkflow.pdf -- networkflow.eps -c -quit
109#       /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=PCIreg.pdf -- PCIreg.eps -c -quit
110#       /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.