Hi, a VPATH build of bash-3.2 fails to install bash.info because doc/Makefile.in assumes that bash.info is in the source tree, whereas it is in fact in the build tree. The attached patch (inspired by automake) covers both possibilities.
The second small patch is needed for the builtins manpage (at least with some man systems). regards Peter Breitenlohner <[EMAIL PROTECTED]>
A VPATH build fails to install bash.info (in Versions 3.x this file is in the build tree, not in the source tree!). The patch (inspired by automake) covers both possibilities. diff -ur bash-3.2.orig/doc/Makefile.in bash-3.2/doc/Makefile.in --- bash-3.2.orig/doc/Makefile.in 2004-07-27 14:57:48.000000000 +0200 +++ bash-3.2/doc/Makefile.in 2007-03-28 22:22:04.000000000 +0200 @@ -225,7 +225,8 @@ -$(INSTALL_DATA) $(srcdir)/bashbug.1 $(DESTDIR)$(man1dir)/bashbug${man1ext} # uncomment the next line to install the builtins man page # -$(INSTALL_DATA) $(srcdir)/builtins.1 $(DESTDIR)$(man1dir)/bash_builtins${man1ext} - -$(INSTALL_DATA) $(srcdir)/bash.info $(DESTDIR)$(infodir)/bash.info + -if test -f bash.info; then d=.; else d=$(srcdir); fi; \ + $(INSTALL_DATA) $$d/bash.info $(DESTDIR)$(infodir)/bash.info # run install-info if it is present to update the info directory if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/bash.info; \
diff -ur bash-3.2.orig/doc/builtins.1 bash-3.2/doc/builtins.1 --- bash-3.2.orig/doc/builtins.1 2004-05-24 16:19:55.000000000 +0200 +++ bash-3.2/doc/builtins.1 2007-03-28 22:20:48.000000000 +0200 @@ -10,6 +10,6 @@ ulimit, umask, unalias, unset, wait \- bash built-in commands, see \fBbash\fR(1) .SH BASH BUILTIN COMMANDS .nr zZ 1 -.so bash.1 +.so man1/bash.1 .SH SEE ALSO bash(1), sh(1)
_______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash