* Makefile.in (uninstall): Remove useless-use-of-for.

For some reason it caused problems on an old Solaris.
This commit is contained in:
Glenn Morris 2012-05-02 00:01:36 -07:00
parent a36e64d04b
commit cd3771a08b
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2012-05-02 Glenn Morris <rgm@gnu.org>
* Makefile.in (uninstall): Remove useless-use-of-for; that for
some reason caused problems on an old Solaris.
* Makefile.in (install-arch-indep, uninstall):
Ensure that INSTALL-type commands are run from top-level.

View file

@ -737,9 +737,7 @@ uninstall:
$(INSTALL_INFO) --remove --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \
if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \
ext=.gz; else ext=; fi; \
for f in `ls $$elt$$ext $$elt-[1-9]$$ext $$elt-[1-9][0-9]$$ext 2>/dev/null`; do \
rm -f $$f; \
done; \
rm -f $$elt$$ext $$elt-[1-9]$$ext $$elt-[1-9][0-9]$$ext; \
done;)
(if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \
ext=.gz; else ext=; fi; \