mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Handle the case when only a single wget.info file is generated.
This commit is contained in:
parent
9e4443571f
commit
a84e550e93
@ -1,3 +1,11 @@
|
||||
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
|
||||
|
@ -112,11 +112,13 @@ install.info: wget.info
|
||||
$(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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user