+2003-10-24 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * Makefile.in (install.info): Handle the case when only wget.info
+ is generated from wget.texi. In that case, wget.info-*[0-9]
+ doesn't match anything and therefore ends up as a bogus value of
+ FILE in the loop. Fix this by not calling INSTALL_DATA on
+ nonexistent files.
+
2003-10-07 Hrvoje Niksic <hniksic@xemacs.org>
* wget.texi (HTTP Options): Documented --post-file and
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir)
-if test -f wget.info; then \
for file in wget.info wget.info-*[0-9]; do \
- $(INSTALL_DATA) $$file $(DESTDIR)$(infodir)/$$file ; \
+ test -f "$$file" && \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(infodir)/$$file" ; \
done; \
else \
for file in $(srcdir)/wget.info $(srcdir)/wget.info-*[0-9]; do \
- $(INSTALL_DATA) $$file $(DESTDIR)$(infodir)/`basename $$file` ; \
+ test -f "$$file" && \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(infodir)/`basename $$file`" ; \
done; \
fi