Whamcloud - gitweb
- add a target that automatically builds the master.pdf document.
authorbraam <braam>
Tue, 2 Apr 2002 06:13:55 +0000 (06:13 +0000)
committerbraam <braam>
Tue, 2 Apr 2002 06:13:55 +0000 (06:13 +0000)
- updates to the Lustre HOWTO, still incomplete
- include lock manager in master.

lustre/doc/Makefile.am

index 851ad81..d43ef09 100644 (file)
@@ -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