* [E2FSPROGS, PATCH] Fix "make docs" rule in Makefile for doc folder.
@ 2008-04-10 19:55 Manish Katiyar
2008-04-13 21:21 ` Theodore Tso
0 siblings, 1 reply; 3+ messages in thread
From: Manish Katiyar @ 2008-04-10 19:55 UTC (permalink / raw)
To: tytso, linux-ext4; +Cc: mkatiyar
On systems which don't have makeinfo installed by default, "make" or
"make docs" fails with the following error
/home/mkatiyar/e2fs-git> make docs
make[1]: Entering directory `/home/mkatiyar/e2fs-git/doc'
MAKEINFO libext2fs.info
make[1]: makeinfo: Command not found
make[1]: [libext2fs.info] Error 127 (ignored)
This patch makes it to bail out with proper error message when
makeinfo is not present.
============================================================================
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
diff --git a/configure.in b/configure.in
index 5243549..e64d817 100644
--- a/configure.in
+++ b/configure.in
@@ -595,6 +595,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
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 5494cf0..9c961f3 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -13,7 +13,7 @@ INSTALL = @INSTALL@
DVI=texi2dvi
DVIPS=dvips -o "$@"
-INFO=makeinfo
+INFO=@MAKEINFO@
HTML=texi2html
all:: libext2fs.info libext2fs.dvi
======================================================================================
--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [E2FSPROGS, PATCH] Fix "make docs" rule in Makefile for doc folder.
2008-04-10 19:55 [E2FSPROGS, PATCH] Fix "make docs" rule in Makefile for doc folder Manish Katiyar
@ 2008-04-13 21:21 ` Theodore Tso
2008-04-14 11:50 ` Manish Katiyar
0 siblings, 1 reply; 3+ messages in thread
From: Theodore Tso @ 2008-04-13 21:21 UTC (permalink / raw)
To: Manish Katiyar; +Cc: linux-ext4
On Fri, Apr 11, 2008 at 01:25:47AM +0530, Manish Katiyar wrote:
> On systems which don't have makeinfo installed by default, "make" or
> "make docs" fails with the following error
> /home/mkatiyar/e2fs-git> make docs
> make[1]: Entering directory `/home/mkatiyar/e2fs-git/doc'
> MAKEINFO libext2fs.info
> make[1]: makeinfo: Command not found
> make[1]: [libext2fs.info] Error 127 (ignored)
>
> This patch makes it to bail out with proper error message when
> makeinfo is not present.
Can you send me a Signed-off-by for your patch, per the
SUBMITTING-PATCHES file in the e2fsprogs sources?
Many thanks,
- Ted
^ permalink raw reply [flat|nested] 3+ messages in thread
* [E2FSPROGS, PATCH] Fix "make docs" rule in Makefile for doc folder.
2008-04-13 21:21 ` Theodore Tso
@ 2008-04-14 11:50 ` Manish Katiyar
0 siblings, 0 replies; 3+ messages in thread
From: Manish Katiyar @ 2008-04-14 11:50 UTC (permalink / raw)
To: Theodore Tso; +Cc: linux-ext4
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
diff --git a/configure.in b/configure.in
index 5243549..e64d817 100644
--- a/configure.in
+++ b/configure.in
@@ -595,6 +595,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
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 5494cf0..9c961f3 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -13,7 +13,7 @@ INSTALL = @INSTALL@
DVI=texi2dvi
DVIPS=dvips -o "$@"
-INFO=makeinfo
+INFO=@MAKEINFO@
HTML=texi2html
all:: libext2fs.info libext2fs.dvi
On Mon, Apr 14, 2008 at 2:51 AM, Theodore Tso <tytso@mit.edu> wrote:
> On Fri, Apr 11, 2008 at 01:25:47AM +0530, Manish Katiyar wrote:
> > On systems which don't have makeinfo installed by default, "make" or
> > "make docs" fails with the following error
> > /home/mkatiyar/e2fs-git> make docs
> > make[1]: Entering directory `/home/mkatiyar/e2fs-git/doc'
> > MAKEINFO libext2fs.info
> > make[1]: makeinfo: Command not found
> > make[1]: [libext2fs.info] Error 127 (ignored)
> >
> > This patch makes it to bail out with proper error message when
> > makeinfo is not present.
>
> Can you send me a Signed-off-by for your patch, per the
> SUBMITTING-PATCHES file in the e2fsprogs sources?
>
> Many thanks,
>
> - Ted
>
--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-14 11:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 19:55 [E2FSPROGS, PATCH] Fix "make docs" rule in Makefile for doc folder Manish Katiyar
2008-04-13 21:21 ` Theodore Tso
2008-04-14 11:50 ` Manish Katiyar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox