Whamcloud - gitweb
LU-5657 doc: allow the use of rst2man to build man pages
[fs/lustre-release.git] / lustre / doc / Makefile.am
1 #
2 # GPL HEADER START
3 #
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 2 only,
8 # as published by the Free Software Foundation.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # General Public License version 2 for more details (a copy is included
14 # in the LICENSE file that accompanied this code).
15 #
16 # You should have received a copy of the GNU General Public License
17 # version 2 along with this program; If not, see
18 # http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
19 #
20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
21 # CA 95054 USA or visit www.sun.com if you need additional information or
22 # have any questions.
23 #
24 # GPL HEADER END
25 #
26
27 #
28 # Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
29 # Use is subject to license terms.
30 #
31 # Copyright (c) 2011, 2014, Intel Corporation.
32 #
33
34 #
35 # This file is part of Lustre, http://www.lustre.org/
36 # Lustre is a trademark of Sun Microsystems, Inc.
37 #
38
39 MANFILES = lustre.7 lfs.1 mount.lustre.8 lctl.8 lnetctl.8 \
40         llverdev.8 llbackup.8 llapi_quotactl.3 llobdstat.8 llstat.8 \
41         plot-llstat.8 l_getgroups.8 lst.8 routerstat.8 \
42         ll_recover_lost_found_objs.8 llog_reader.8 llapi_file_open.3 \
43         llapi_file_create.3 llapi_file_get_stripe.3 lustreapi.7 \
44         lustre_rsync.8 lfs_migrate.1 lhbadm.8 ldev.8 ldev.conf.5 nids.5 \
45         lfs-hsm.1 llapi_hsm_state_get.3 llapi_hsm_state_set.3 \
46         lustre_routes_config.8 lustre_routes_conversion.8 \
47         lfs-setdirstripe.1 lfs-mkdir.1 lfs-getdirstripe.1 \
48         llapi_layout.7 llapi_layout_alloc.3 llapi_layout_file_create.3 \
49         llapi_layout_file_open.3 llapi_layout_free.3 llapi_layout_get_by_fd.3 \
50         llapi_layout_get_by_fid.3 llapi_layout_get_by_path.3 \
51         llapi_layout_ost_index_get.3 llapi_layout_ost_index_set.3 \
52         llapi_layout_pattern_get.3 llapi_layout_pattern_set.3 \
53         llapi_layout_pool_name_get.3 llapi_layout_pool_name_set.3 \
54         llapi_layout_stripe_count_get.3 llapi_layout_stripe_count_set.3 \
55         llapi_layout_stripe_size_get.3  llapi_layout_stripe_size_set.3 \
56         llapi_path2fid.3 llapi_group_lock.3 llapi_group_unlock.3 \
57         ll_decode_filter_fid.8 llapi_path2parent.3 llapi_fd2parent.3
58
59 SERVER_MANFILES = mkfs.lustre.8 tunefs.lustre.8
60
61 if SERVER
62 MANFILES += $(SERVER_MANFILES)
63 else
64 DISTONLY_MANFILES = $(SERVER_MANFILES)
65 endif
66
67 if UTILS
68 man_MANS = $(MANFILES)
69 endif
70
71 .rst.3 .rst.7:
72         @RST2MAN@ $? $@
73
74 CLEANFILES = *.aux *.tex *.log *.pdf
75
76 EXTRA_DIST = $(MANFILES) *.rst $(DISTONLY_MANFILES)
77
78 all: