Whamcloud - gitweb
- add a target that automatically builds the master.pdf document.
[fs/lustre-release.git] / lustre / doc / Makefile.am
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5 LYX2PDF = lyx --export pdf
6 SUFFIXES = .lyx .pdf .sgml .html .txt .fig .eps
7
8 DOCS = master.pdf
9 # doc_DATA = $(DOCS) OBD-HOWTO.html OBD-HOWTO.txt
10 CLEANFILES = OBD-HOWTO.html OBD-HOWTO.txt
11 EXTRA_DIST = $(DOCS)
12
13 all: master.pdf
14
15 .lyx.pdf:
16         $(LYX2PDF) $< 2>/dev/null || printf "\n*** Warning: not creating PDF docs; install lyx to rectify this\n"
17
18 .fig.eps:
19         fig2dev -L eps $< > $@
20
21 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
22
23
24 dist-hook:
25         rm -rf $(distdir)/figs/CVS
26
27 include $(top_srcdir)/Rules
28