Mail Archives: djgpp-workers/2002/06/11/10:22:07
Hello.
There appears to be a bug in texinfos.am. The problem is underquoting
of $(PATH_SEPARATOR), so commands like:
CDPATH=; && cd $$d && ...
are executed. Below is a patch to fix the underquoting.
doc/Makefile{,.in} from Fileutils 4.1 are bitten by this bug.
If I regenerate the Makefile with a patched automake, the problem is gone.
Bye, Rich =]
--- share/automake/am/texinfos.am.orig 2002-06-11 14:06:34.000000000 +0000
+++ share/automake/am/texinfos.am 2002-06-11 14:06:44.000000000 +0000
@@ -113,7 +113,7 @@ install-info-am: $(INFO_DEPS)
?!CYGNUS? d=$(srcdir); \
## We use these strange circumlocutions because we want the "ifile" to
## be relative, for the install.
- for ifile in `CDPATH=$(PATH_SEPARATOR) && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+ for ifile in `CDPATH="$(PATH_SEPARATOR)" && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
if test -f $$d/$$ifile; then \
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
@@ -197,7 +197,7 @@ dist-info: $(INFO_DEPS)
## other modes, allow only source dir.
?!CYGNUS? d=$(srcdir); \
?CYGNUS? if test -f $$base; then d=.; else d=$(srcdir); fi; \
- for file in `CDPATH=$(PATH_SEPARATOR) && cd $$d && eval echo $$base*`; do \
+ for file in `CDPATH="$(PATH_SEPARATOR)" && cd $$d && eval echo $$base*`; do \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file; \
done; \
- Raw text -