Whamcloud - gitweb
Landing the mds_lock_devel branch on the trunk. Notables:
[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 LYX2TXT = lyx --export text
7 LYX2HTML = lyx --export html
8 SUFFIXES = .lyx .pdf .sgml .html .txt .fig .eps
9
10 DOCS = master.pdf lustre-HOWTO.txt
11 IMAGES = networklayer.fig bigpicture.eps intermezzo.eps mds.eps portals.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 portals-lib.eps lockqueues.eps lockexample1.eps lockexample2.eps lockexample3.eps lockexample4.eps lockseverity.eps
12 CLEANFILES = $(IMAGES) $(DOCS)
13
14 EXTRA_DIST = $(DOCS)
15
16 all: $(DOCS)
17
18 .lyx.pdf:
19         @$(LYX2PDF) $< || printf "\n*** Warning: not creating PDF docs; install lyx to rectify this\n"
20
21 .lyx.txt:
22         @$(LYX2TXT) $< || printf "\n*** Warning: not creating PDF docs; install lyx to rectify this\n"
23
24 .lyx.html:
25         @$(LYX2HTML) $< || printf "\n*** Warning: not creating PDF docs; install lyx to rectify this\n"
26
27 .fig.eps:
28         -fig2dev -L eps $< > $@
29
30 master.pdf: master.lyx $(IMAGES)
31
32 syncweb: master.pdf
33         cp master.pdf /usr/src/www/content/lustre/docs/master.pdf
34         ( cd /usr/src/www ; make lustre ; make synclustre )
35
36 dist-hook:
37         rm -rf $(distdir)/figs/CVS
38
39 include $(top_srcdir)/Rules