From 9a729b8e01ec6e3b84fafbb203118265e68047d8 Mon Sep 17 00:00:00 2001 From: braam Date: Tue, 2 Apr 2002 06:13:55 +0000 Subject: [PATCH] - add a target that automatically builds the master.pdf document. - updates to the Lustre HOWTO, still incomplete - include lock manager in master. --- lustre/doc/Makefile.am | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lustre/doc/Makefile.am b/lustre/doc/Makefile.am index 851ad81..d43ef09 100644 --- a/lustre/doc/Makefile.am +++ b/lustre/doc/Makefile.am @@ -2,19 +2,24 @@ # # This code is issued under the GNU General Public License. # See the file COPYING in this distribution +LYX2PDF = lyx --export pdf +SUFFIXES = .lyx .pdf .sgml .html .txt .fig .eps -DOCS = OBD-HOWTO.sgml OLVM.txt figs notes.txt obdtrace_demo.txt +DOCS = master.pdf # doc_DATA = $(DOCS) OBD-HOWTO.html OBD-HOWTO.txt CLEANFILES = OBD-HOWTO.html OBD-HOWTO.txt EXTRA_DIST = $(DOCS) -.sgml.html: - sgml2html -split 0 $< +all: master.pdf -.sgml.txt: - sgml2txt $< +.lyx.pdf: + $(LYX2PDF) $< 2>/dev/null || printf "\n*** Warning: not creating PDF docs; install lyx to rectify this\n" + +.fig.eps: + fig2dev -L eps $< > $@ + +master.pdf: master.lyx bigpicture.eps intermezzo.eps mds.eps portals-lib.eps client.eps layering.eps metadata.eps sb.eps cow.eps lockacq.eps obdfs.eps snapsetup.eps dirbodyapi.eps loraid.eps ost.eps updates.eps hotmigrate.eps lustreclusters.eps osthw.eps -SUFFIXES = .sgml .html .txt dist-hook: rm -rf $(distdir)/figs/CVS -- 1.8.3.1