X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=doc%2FMakefile.in;h=57ff2f578a54df76da2c9a221b629af6c5a28853;hb=19f0a05e9135c570b871804b7b88724e9746c005;hp=81fe3130c178e1f1361faf669449035e75be4e5d;hpb=93ff8fcd989d05336b4be43bdf62e61f9b1f98f9;p=wget diff --git a/doc/Makefile.in b/doc/Makefile.in index 81fe3130..57ff2f57 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -3,7 +3,7 @@ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, @@ -12,8 +12,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# along with this program. If not, see . # # Version: @VERSION@ @@ -65,14 +64,10 @@ everything: all wget_us.ps wget_a4.ps wget_toc.html $(SAMPLERCTEXI): $(srcdir)/sample.wgetrc sed s/@/@@/g $? > $@ -wget.info: $(SAMPLERCTEXI) $(srcdir)/wget.texi - $(MAKEINFO) -I$(srcdir) +wget.info: $(srcdir)/wget.texi $(SAMPLERCTEXI) $(srcdir)/version.texi + $(MAKEINFO) -I$(srcdir) $(srcdir)/wget.texi -$(TEXI2POD): $(TEXI2POD).in - sed 's,^#! /usr/bin/perl,#! @PERL@,' $? > $@ - chmod u+x $@ - -wget.pod: $(srcdir)/wget.texi $(TEXI2POD) +wget.pod: $(srcdir)/wget.texi $(srcdir)/version.texi $(TEXI2POD) $(srcdir)/wget.texi $@ $(MAN): wget.pod @@ -112,11 +107,15 @@ 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 ; \ + if test -f "$$file"; then \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(infodir)/$$file" ; \ + fi; \ done; \ else \ for file in $(srcdir)/wget.info $(srcdir)/wget.info-*[0-9]; do \ - $(INSTALL_DATA) $$file $(DESTDIR)$(infodir)/`basename $$file` ; \ + if test -f "$$file"; then \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(infodir)/`basename $$file`" ; \ + fi; \ done; \ fi @@ -162,7 +161,7 @@ clean: distclean: clean $(RM) Makefile - $(RM) $(MAN) $(TEXI2POD) + $(RM) $(MAN) realclean: distclean $(RM) wget.info*