now user-guide.info is built only when "makeinfo" found
user-guide info is built only when "makeinfo" found Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
parent
7d7610007a
commit
b29a555c0b
20
configure.ac
20
configure.ac
@ -134,6 +134,26 @@ AC_CANONICAL_HOST
|
||||
AC_PROG_CC
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
# texinfo check
|
||||
AC_CHECK_PROG([INFO], [makeinfo], [yes], [no])
|
||||
if test "x$INFO" = "xno"; then
|
||||
AC_MSG_WARN([
|
||||
*** Makeinfo is missing. Info documentation will not be built.])
|
||||
BUILD_INFO=
|
||||
else
|
||||
BUILD_INFO=user-guide
|
||||
case "$INFO" in
|
||||
*/missing\ makeinfo*)
|
||||
BUILD_INFO=
|
||||
AC_MSG_WARN([
|
||||
*** Makeinfo is missing. Info documentation will not be built.])
|
||||
;;
|
||||
*)
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(INFO)
|
||||
AC_SUBST(BUILD_INFO)
|
||||
|
||||
# LEX needs a check
|
||||
AC_PROG_LEX
|
||||
if test "x${LEX}" != "xflex" -a "x${FLEX}" != "xlex"; then
|
||||
|
@ -1,7 +1,8 @@
|
||||
EXTRA_DIST = glusterfs.vol.sample glusterfsd.vol.sample glusterfs.8 \
|
||||
porting_guide.txt authentication.txt coding-standard.pdf get_put_api_using_xattr.txt \
|
||||
translator-options.txt mac-related-xattrs.txt replicate.pdf
|
||||
SUBDIRS = examples hacker-guide user-guide
|
||||
|
||||
SUBDIRS = examples hacker-guide $(BUILD_INFO)
|
||||
|
||||
voldir = $(sysconfdir)/glusterfs
|
||||
vol_DATA = glusterfs.vol.sample glusterfsd.vol.sample
|
||||
|
@ -1 +1,3 @@
|
||||
info_TEXINFOS = user-guide.texi
|
||||
CLEANFILES = *~
|
||||
DISTCLEANFILES = .deps/*.P *.info *vti
|
||||
|
Loading…
x
Reference in New Issue
Block a user