bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installation problem with info file when using separate object dir durin


From: Heinz-Ado Arnolds
Subject: Installation problem with info file when using separate object dir during building
Date: Wed, 23 Jan 2008 14:53:42 +0100
User-agent: Thunderbird 1.5.0.13 (X11/20070809)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I/tmp/S/bash-3.2 -I/tmp/S/bash-3.2/include -I/tmp/S/bash-3.2/lib -g -O2 uname output: Linux xxxxx 2.6.23.1 #1 SMP PREEMPT Tue Oct 16 16:47:14 CEST 2007 i686 GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 3.2
Patch Level: 33
Release Status: release

Description:
        When using a seperate object directory during build (e.g. O) the info
        file bash.info is built and written to O/doc/bash.info:

        bash.info: bashref.info
           ${SHELL} ${INFOPOST} < $(srcdir)/bashref.info > $@ ;

        The installation procedure tries to install it from $(srcdir) and will
        not find it there:

           -$(INSTALL_DATA) $(srcdir)/bash.info $(DESTDIR)$(infodir)/bash.info

Repeat-By:
        make

Fix:
        see attachment

*** ../bash-3.2-patched/doc/Makefile.in Tue Jul 27 14:57:48 2004
--- ./doc/Makefile.in   Wed Jan 23 14:26:02 2008
***************
*** 225,231 ****
        -$(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
  # 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; \
--- 225,231 ----
        -$(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) 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; \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]