mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix installation of info files.
Published in <sxslmh6i9me.fsf@florida.arsdigita.de>.
This commit is contained in:
parent
2fe30df466
commit
4f5a898a66
@ -1,3 +1,8 @@
|
||||
2001-11-17 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* Makefile.in (install.info): If info files from the build
|
||||
directory are not available, use the ones from $(srcdir).
|
||||
|
||||
2001-11-16 Peter Farmer <peter.farmer@zveno.com>
|
||||
|
||||
* Makefile.in: Use $? instead of $<. Use TEXI2POD more
|
||||
|
@ -106,11 +106,19 @@ install: install.info install.wgetrc @COMMENT_IF_NO_POD2MAN@install.man
|
||||
uninstall: uninstall.info @COMMENT_IF_NO_POD2MAN@uninstall.man
|
||||
|
||||
# install info pages, creating install directory if necessary
|
||||
# if the info pages are built in the build directory, they are used.
|
||||
# otherwise, the ones from the distribution are installed.
|
||||
install.info: wget.info
|
||||
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir)
|
||||
-for file in wget.info wget.info-*[0-9]; do \
|
||||
test -f $$file && $(INSTALL_DATA) $$file $(DESTDIR)$(infodir)/$$file ; \
|
||||
done
|
||||
-if test -f wget.info; then \
|
||||
for file in wget.info wget.info-*[0-9]; do \
|
||||
$(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` ; \
|
||||
done; \
|
||||
fi
|
||||
|
||||
# install man page, creating install directory if necessary
|
||||
install.man: $(MAN)
|
||||
|
Loading…
Reference in New Issue
Block a user