X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fdoc%2FMakefile.am;h=55ae2c653119d7bb2a30fa56581eaf2aadd953ae;hb=ce2e28b769a1a338ddc3f8d4078cff4f3dfab3d9;hp=d285f2aaf944867f0280d3675c2a504f14d8735e;hpb=f66373b5f898e3c3f7ae0c3306f38786ccf3338e;p=fs%2Flustre-release.git diff --git a/lustre/doc/Makefile.am b/lustre/doc/Makefile.am index d285f2a..3e908f2 100644 --- a/lustre/doc/Makefile.am +++ b/lustre/doc/Makefile.am @@ -1,66 +1,205 @@ -# Copyright (C) 2001, 2002 Cluster File Systems, Inc. # -# This code is issued under the GNU General Public License. -# See the file COPYING in this distribution -LYX2PDF = lyx --export pdf -LYX2TXT = lyx --export text -LYX2HTML = lyx --export html -SUFFIXES = .lyx .pdf .sgml .html .txt .fig .eps - -DOCS = lustre.pdf lustre-HOWTO.txt -IMAGES = cache1.eps cache2.eps intermezzocache.eps intermezzofilesys.eps meta.eps metadata1.eps networklayer.eps 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 -LYXFILES= master.lyx evolution.lyx llocks.lyx mgmt.lyx uncertain.lyx\ - fs.lyx lustre-HOWTO.lyx namespace.lyx\ - glossary.lyx lustre-debugging.lyx network.lyx\ - intro.lyx obdspec.lyx recovery.lyx - -MAINTAINERCLEANFILES = $(IMAGES) $(DOCS) lustre-HOWTO.lyx -CLEANFILES = *.lyxT - -EXTRA_DIST = $(DOCS) $(IMAGES) $(LYXFILES) DOCVERSION master.bib - -all: $(DOCS) - -# update date and version in document -tag := $(shell cat $(srcdir)/CVS/Tag 2>/dev/null || echo HEAD) -addstamp = sed "s|^Date:.*|Date: `date +%x`|g; s|^Version:.*|Version: $(tag)|g" +# GPL HEADER START +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 only, +# as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License version 2 for more details (a copy is included +# in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU General Public License +# version 2 along with this program; If not, see +# http://www.gnu.org/licenses/gpl-2.0.html +# +# GPL HEADER END +# -DOCVERSION: - echo $(tag) > DOCVERSION +# +# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. +# Use is subject to license terms. +# +# Copyright (c) 2011, 2017, Intel Corporation. +# -.lyx.pdf: - rm -f $ $ $ $ $@ +if SERVER +MANFILES += $(SERVER_MANFILES) +else +DISTONLY_MANFILES = $(SERVER_MANFILES) +endif -lustre.lyx: master.lyx $(IMAGES) DOCVERSION - (ver="`cat DOCVERSION`" ;\ - echo "version for $< is $$ver";\ - sed "s/VERSION/version $$ver/" < $< > lustre.lyx.tmp ;\ - thedate=`date +%x` ; sed "s:DATE:$$thedate , :" < lustre.lyx.tmp > lustre.lyx ;\ - ) +if UTILS +if MANPAGES +man_MANS = $(MANFILES) +endif +endif -syncweb: lustre.pdf - cp lustre.pdf /usr/src/www/content/lustre/docs/lustre.pdf - ( cd /usr/src/www ; make lustre ; make synclustre ) +CLEANFILES = *.aux *.tex *.log *.pdf -dist-hook: - rm -rf $(distdir)/figs/CVS +EXTRA_DIST = $(MANFILES) $(DISTONLY_MANFILES) -include $(top_srcdir)/Rules +all: