Fix "make docs" rule in Makefile for doc folder.

Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Manish Katiyar 2008-04-14 17:20:03 +05:30 committed by Theodore Ts'o
parent 8bcaaabb1a
commit 7321d94eb0
3 changed files with 70 additions and 2 deletions

56
configure vendored
View File

@ -747,6 +747,7 @@ PERL
LDCONFIG
AR
STRIP
MAKEINFO
BUILD_CC
SIZEOF_SHORT
SIZEOF_INT
@ -11624,6 +11625,58 @@ else
STRIP="$ac_cv_prog_STRIP"
fi
# Extract the first word of "makeinfo", so it can be a program name with args.
set dummy makeinfo; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_MAKEINFO+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$MAKEINFO"; then
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_MAKEINFO="makeinfo"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
MAKEINFO=$ac_cv_prog_MAKEINFO
if test -n "$MAKEINFO"; then
{ echo "$as_me:$LINENO: result: $MAKEINFO" >&5
echo "${ECHO_T}$MAKEINFO" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
if test "_$MAKEINFO" = "_"; then
MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
else
case "$MAKEINFO" in
*/missing.*)
{ echo "$as_me:$LINENO: WARNING:
*** Makeinfo is missing. Info documentation will not be built." >&5
echo "$as_me: WARNING:
*** Makeinfo is missing. Info documentation will not be built." >&2;}
;;
*)
;;
esac
fi
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
@ -16167,6 +16220,7 @@ PERL!$PERL$ac_delim
LDCONFIG!$LDCONFIG$ac_delim
AR!$AR$ac_delim
STRIP!$STRIP$ac_delim
MAKEINFO!$MAKEINFO$ac_delim
BUILD_CC!$BUILD_CC$ac_delim
SIZEOF_SHORT!$SIZEOF_SHORT$ac_delim
SIZEOF_INT!$SIZEOF_INT$ac_delim
@ -16194,7 +16248,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5

View File

@ -615,6 +615,20 @@ AC_PATH_PROG(LDCONFIG, ldconfig, :)
AC_CHECK_TOOL(AR, ar, ar)
AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_CHECK_TOOL(STRIP, strip, :)
AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, )
if test "_$MAKEINFO" = "_"; then
MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
else
case "$MAKEINFO" in
*/missing.*)
AC_MSG_WARN([
*** Makeinfo is missing. Info documentation will not be built.])
;;
*)
;;
esac
fi
AC_SUBST(MAKEINFO)
AC_PROG_INSTALL
# See if we need a separate native compiler.
if test $cross_compiling = no; then

View File

@ -13,7 +13,7 @@ INSTALL = @INSTALL@
DVI=texi2dvi
DVIPS=dvips -o "$@"
INFO=makeinfo
INFO=@MAKEINFO@
HTML=texi2html
all:: libext2fs.info libext2fs.dvi