[svn] Don't generate texi2pod.pl from texi2pod.pl.in.

This commit is contained in:
hniksic 2005-06-22 05:25:57 -07:00
parent 6809ee4f7d
commit 6f97d7144c
3 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,11 @@
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
* texi2pod.pl: Locate perl using the "env" program, so we don't
need to modify texi2pod.
* Makefile.in (wget.pod): Work with texi2pod.pl directly instead
of generating it from texi2pod.pl.in.
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
* wget.texi (Wgetrc Commands): Remove the "lockable boolean"

View File

@ -48,7 +48,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 +68,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 +162,7 @@ clean:
distclean: clean
$(RM) Makefile
$(RM) $(MAN) $(TEXI2POD)
$(RM) $(MAN)
realclean: distclean
$(RM) wget.info*

4
doc/texi2pod.pl.in → doc/texi2pod.pl Normal file → Executable file
View File

@ -1,4 +1,4 @@
#! /usr/bin/perl -w
#! /usr/bin/env perl
# Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
@ -23,6 +23,8 @@
# markup to Perl POD format. It's intended to be used to extract
# something suitable for a manpage from a Texinfo document.
use warnings;
$output = 0;
$skipping = 0;
%sects = ();