+2001-05-18 Akim Demaille <akim@epita.fr>
+
+ * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
+ to missing `install-info'.
+
2001-05-17 Tom Tromey <tromey@redhat.com>
* automake.in (lang_c_finish): Use `rm -f'.
BEGIN
{
my $prefix = "@prefix@";
- my $perllibdir = $ENV{'perllibdir'} || "@datadir@/@PACKAGE@";
- unshift @INC, "$perllibdir";
+ unshift @INC, $libdir ||"@datadir@/@PACKAGE@";
}
use Automake::Struct;
## the Debian install-info. FIXME: once Debian install-info goes
## away, we can remove this hack. Debian install-info v1.8.3
## prints version info to stderr.
- @if $(SHELL) -c 'install-info --version 2>&1 | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+##
+## Do not use
+## install-info --version 2>&1 | sed 1q | fgrep -s -v -i debian
+## as if install-info does not exist, fgrep -v will be happy, and
+## therefore the code will be triggered although install-info is missing.
+ @if (install-info --version && \
+ install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
list='$(INFO_DEPS)'; \
for file in $$list; do \
## Run `:' after install-info in case install-info fails. We really
## Run two loops here so that we can handle PRE_UNINSTALL and
## NORMAL_UNINSTALL correctly. Debian install-info v1.8.3 prints
## version info to stderr.
- @if $(SHELL) -c 'install-info --version 2>&1 | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+ @if (install-info --version && \
+ install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
list='$(INFO_DEPS)'; \
for file in $$list; do \
## install-info needs the actual info file. We use the installed one,