## if the user doesn't request it not to be run (through the
## 'AM_UPDATE_INFO_DIR' environment variable). See automake bug#9773
## and Debian Bug#543992.
-am__can_run_installinfo = \
+am.texi.can-run-installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; \
done
@$(POST_INSTALL)
- @$(am__can_run_installinfo) || exit 0; \
+ @$(am.texi.can-run-installinfo) || exit 0; \
rellist='$(notdir $(and $(infodir),$^))'; \
test -n "$$rellist" || exit 0; \
for relfile in $$rellist; do \
@$(PRE_UNINSTALL)
## Run two loops here so that we can handle PRE_UNINSTALL and
## NORMAL_UNINSTALL correctly.
- @if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \
+ @if test -d '$(DESTDIR)$(infodir)' && $(am.texi.can-run-installinfo); then \
list='$(notdir $(INFO_DEPS))'; for relfile in $$list; do \
## install-info needs the actual info file. We use the installed one,
## rather than relying on one still being in srcdir or builddir.