]> sjero.net Git - wget/blobdiff - doc/Makefile.in
[svn] Fix #20748: fix test usage wrt zero-termination of strings.
[wget] / doc / Makefile.in
index c36aa2ee846e68a3e7df709d362ae54a64502a85..57ff2f578a54df76da2c9a221b629af6c5a28853 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
 
 #
 # 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*