Tom Tromey writes:

> Can you be more specific?  What error messages do you get?

Fresh copy of CVS Autoconf:

$ make install
...
$ make uninstall
...
Making uninstall in doc
make[1]: Entering directory `/home/peter/gnu/autoconf/doc'
:
/bin/sh: install-info: command not found
/bin/sh: install-info: command not found
make[1]: *** [uninstall-info] Error 127
make[1]: Leaving directory `/home/peter/gnu/autoconf/doc'
make: *** [uninstall-recursive] Error 1


> I think the code already does check for install-info.

Apparently it doesn't like Debian, but it doesn't handle the case where it
simply is nowhere to be found.

uninstall-info:
        $(PRE_UNINSTALL)
        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' 
>/dev/null 2>&1; then \
          ii=yes; \
        else ii=; fi; \
        list='$(INFO_DEPS)'; \
        for file in $$list; do \
          test -z "$ii" \
            || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
        done
        ...

The install-info-am target does `install-info ... || :', but I don't like
skipping things silently like that. Perhaps `missing' should be put into
action here.

I have the info-4.0-5 RPM from RedHat 6.? rebuild for this RH 5.2 based
system, and install-info ends up in /sbin. I don't think this can be a
rare problem.


-- 
Peter Eisentraut                  Sernanders v�g 10:115
[EMAIL PROTECTED]                   75262 Uppsala
http://yi.org/peter-e/            Sweden

Reply via email to