]> sjero.net Git - wget/blobdiff - doc/Makefile.in
[svn] Fix #20748: fix test usage wrt zero-termination of strings.
[wget] / doc / Makefile.in
index d6db64a699e64822bb71df1af06e89c4a57cf6c9..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@
@@ -48,7 +47,7 @@ INSTALL      = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 RM = rm -f
 
-TEXI2POD     = texi2pod.pl
+TEXI2POD     = $(srcdir)/texi2pod.pl
 POD2MAN      = @POD2MAN@
 MAN          = wget.$(manext)
 WGETRC       = $(sysconfdir)/wgetrc
@@ -68,12 +67,8 @@ $(SAMPLERCTEXI): $(srcdir)/sample.wgetrc
 wget.info: $(srcdir)/wget.texi $(SAMPLERCTEXI) $(srcdir)/version.texi
        $(MAKEINFO) -I$(srcdir) $(srcdir)/wget.texi
 
-$(TEXI2POD): $(srcdir)/$(TEXI2POD).in
-       sed 's,^#! /usr/bin/perl,#! @PERL@,' $? > $@
-       chmod u+x $@
-
-wget.pod: $(srcdir)/wget.texi $(TEXI2POD) $(srcdir)/version.texi
-       ./$(TEXI2POD) $(srcdir)/wget.texi $@
+wget.pod: $(srcdir)/wget.texi $(srcdir)/version.texi
+       $(TEXI2POD) $(srcdir)/wget.texi $@
 
 $(MAN): wget.pod
        $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
@@ -166,7 +161,7 @@ clean:
 
 distclean: clean
        $(RM) Makefile
-       $(RM) $(MAN) $(TEXI2POD)
+       $(RM) $(MAN)
 
 realclean: distclean
        $(RM) wget.info*