summaryrefslogtreecommitdiffstats
path: root/doc/filesystem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/filesystem/Makefile120
-rw-r--r--doc/filesystem/Makefile.am68
2 files changed, 68 insertions, 120 deletions
diff --git a/doc/filesystem/Makefile b/doc/filesystem/Makefile
deleted file mode 100644
index 868ab9b40c..0000000000
--- a/doc/filesystem/Makefile
+++ /dev/null
@@ -1,120 +0,0 @@
-#
-# COPYRIGHT (c) 1988-1999.
-# On-Line Applications Research Corporation (OAR).
-# All rights reserved.
-#
-# $Id$
-#
-
-PROJECT=filesystem
-
-include ../Make.config
-
-REPLACE=../tools/word-replace
-
-BMENU+= -c
-
-all: html info ps pdf
-
-dirs:
- $(make-dirs)
-
-COMMON_FILES=../common/cpright.texi ../common/setup.texi
-
-GENERATED_FILES=patheval.texi \
- init.texi mounting.texi syscalls.texi fsrequirements.texi imfs.texi \
- miniimfs.texi tftp.texi
-
-FILES= $(PROJECT).texi \
- preface.texi $(GENERATED_FILES)
-
-INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
-
-info: dirs $(PROJECT)
- #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
- cp $(PROJECT) $(INFO_INSTALL)
-
-$(PROJECT): $(FILES)
- $(MAKEINFO) $(PROJECT).texi
-
-dvi: dirs $(PROJECT).dvi
-ps: dirs $(PROJECT).ps
-pdf: dirs $(PROJECT).pdf
-
-$(PROJECT).pdf: $(FILES)
- $(TEXI2PDF) $(PROJECT).texi
- cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).ps: $(PROJECT).dvi
- dvips -o $(PROJECT).ps $(PROJECT).dvi
- cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) $(PROJECT).texi
- cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
-
-patheval.texi: patheval.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-init.texi: init.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-mounting.texi: mounting.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-syscalls.texi: syscalls.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-fsrequirements.texi: fsrequirements.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-imfs.texi: imfs.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-miniimfs.texi: miniimfs.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-tftp.texi: tftp.t Makefile
- $(BMENU) -p "" \
- -u "Top" \
- -n "" ${*}.t
-
-html: dirs $(FILES)
- -mkdir -p $(WWW_INSTALL)/$(PROJECT)
- # rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
- # rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.png
- # rm -f $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
- # cp recvbd.jpg $(WWW_INSTALL)/$(PROJECT)/recvbd.jpg
- # cp networkflow.jpg $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
- # cp networkflow.png $(WWW_INSTALL)/$(PROJECT)/networkflow.png
- # cp PCIreg.jpg $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
-
-clean:
- rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
- rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
- rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
- rm -f networking networking-*
- rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
- rm -f timetbl.t wksheets.t
- rm -f *.fixed _*
-
-convert:
-# /usr/bin/gs -dMaxBitmap=300000000 -g5500x7500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=networkflow.pdf -- networkflow.eps -c -quit
-# /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=PCIreg.pdf -- PCIreg.eps -c -quit
-# /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=recvbd.pdf -- recvbd.eps -c -quit
diff --git a/doc/filesystem/Makefile.am b/doc/filesystem/Makefile.am
new file mode 100644
index 0000000000..5b02ed1d39
--- /dev/null
+++ b/doc/filesystem/Makefile.am
@@ -0,0 +1,68 @@
+#
+# COPYRIGHT (c) 1988-1999.
+# On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign
+
+PROJECT=filesystem
+
+include $(top_srcdir)/project.am
+
+BMENU+= -c
+
+COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
+
+GENERATED_FILES=patheval.texi \
+ init.texi mounting.texi syscalls.texi fsrequirements.texi imfs.texi \
+ miniimfs.texi tftp.texi
+
+FILES= preface.texi
+
+info_TEXINFOS = filesystem.texi
+filesystem_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
+
+patheval.texi: patheval.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+init.texi: init.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+mounting.texi: mounting.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+syscalls.texi: syscalls.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+fsrequirements.texi: fsrequirements.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+imfs.texi: imfs.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+miniimfs.texi: miniimfs.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+tftp.texi: tftp.t
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" $<
+
+EXTRA_DIST = *.t