LB_CONFIG_MPITESTS
LB_CONFIG_SERVERS
+AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], [])
+if test "x$RST2MAN" = "x"; then
+ AC_MSG_ERROR(
+ [rst2man is needed to build the man pages. Install python-docutils.])
+fi
+
# Tests depends from utils (multiop from liblustreapi)
AS_IF([test "x$enable_utils" = xno], [enable_tests="no"])
Obsoletes: lustre-lite, lustre-lite-utils, lustre-ldap nfs-utils-lustre
Provides: lustre-lite = %{version}, lustre-lite-utils = %{version}
Requires: %{name}-modules = %{version}
-BuildRequires: libtool
+BuildRequires: libtool python-docutils
%if %{with servers}
Requires: lustre-osd
Requires: lustre-osd-mount
man_MANS = $(MANFILES)
endif
+.rst.3 .rst.7:
+ @RST2MAN@ $? $@
+
CLEANFILES = *.aux *.tex *.log *.pdf
-EXTRA_DIST = $(MANFILES) $(DISTONLY_MANFILES)
+EXTRA_DIST = $(MANFILES) *.rst $(DISTONLY_MANFILES)
all:
+++ /dev/null
-.TH lustreapi 7 "2009 Aug 10" The Lustre user application interface library
-.SH NAME
-lustreapi \- The lustre API library
-.SH DESCRIPTION
-The lustreapi library provides functions to access and/or modify settings specific to the Lustre filesystem (allocation policies, quotas, etc).
-.SH "SEE ALSO"
-.BR lustre (7),
-.BR llapi_file_create (3),
-.BR llapi_file_open (3),
-.BR llapi_file_get_stripe (3),
-.BR llapi_layout (3),
-.BR llapi_quotactl (3)
-.BR llapi_hsm_state_get (3)
-.BR llapi_hsm_state_set (3)
--- /dev/null
+=========
+lustreapi
+=========
+
+----------------------
+The Lustre API library
+----------------------
+
+:Author: Lustre contributors
+:Date: 2009-08-10
+:Manual section: 7
+:Manual group: The Lustre API library
+
+SYNOPSIS
+========
+
+**#include <lustre/lustreapi.h>**
+
+DESCRIPTION
+===========
+
+The lustreapi library provides functions to access and/or modify
+settings specific to the Lustre filesystem (allocation policies,
+quotas, etc).
+
+SEE ALSO
+========
+
+**lustre**\ (7),
+**llapi_file_create**\ (3),
+**llapi_file_open**\ (3),
+**llapi_file_get_stripe**\ (3),
+**llapi_layout**\ (3),
+**llapi_quotactl**\ (3),
+**llapi_hsm_state_get**\ (3),
+**llapi_hsm_state_set**\ (3)