mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Don't generate texi2pod.pl from texi2pod.pl.in.
This commit is contained in:
parent
6809ee4f7d
commit
6f97d7144c
@ -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>
|
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* wget.texi (Wgetrc Commands): Remove the "lockable boolean"
|
* wget.texi (Wgetrc Commands): Remove the "lockable boolean"
|
||||||
|
@ -48,7 +48,7 @@ INSTALL = @INSTALL@
|
|||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
|
|
||||||
TEXI2POD = texi2pod.pl
|
TEXI2POD = $(srcdir)/texi2pod.pl
|
||||||
POD2MAN = @POD2MAN@
|
POD2MAN = @POD2MAN@
|
||||||
MAN = wget.$(manext)
|
MAN = wget.$(manext)
|
||||||
WGETRC = $(sysconfdir)/wgetrc
|
WGETRC = $(sysconfdir)/wgetrc
|
||||||
@ -68,12 +68,8 @@ $(SAMPLERCTEXI): $(srcdir)/sample.wgetrc
|
|||||||
wget.info: $(srcdir)/wget.texi $(SAMPLERCTEXI) $(srcdir)/version.texi
|
wget.info: $(srcdir)/wget.texi $(SAMPLERCTEXI) $(srcdir)/version.texi
|
||||||
$(MAKEINFO) -I$(srcdir) $(srcdir)/wget.texi
|
$(MAKEINFO) -I$(srcdir) $(srcdir)/wget.texi
|
||||||
|
|
||||||
$(TEXI2POD): $(srcdir)/$(TEXI2POD).in
|
wget.pod: $(srcdir)/wget.texi $(srcdir)/version.texi
|
||||||
sed 's,^#! /usr/bin/perl,#! @PERL@,' $? > $@
|
$(TEXI2POD) $(srcdir)/wget.texi $@
|
||||||
chmod u+x $@
|
|
||||||
|
|
||||||
wget.pod: $(srcdir)/wget.texi $(TEXI2POD) $(srcdir)/version.texi
|
|
||||||
./$(TEXI2POD) $(srcdir)/wget.texi $@
|
|
||||||
|
|
||||||
$(MAN): wget.pod
|
$(MAN): wget.pod
|
||||||
$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
|
$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
|
||||||
@ -166,7 +162,7 @@ clean:
|
|||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
$(RM) Makefile
|
$(RM) Makefile
|
||||||
$(RM) $(MAN) $(TEXI2POD)
|
$(RM) $(MAN)
|
||||||
|
|
||||||
realclean: distclean
|
realclean: distclean
|
||||||
$(RM) wget.info*
|
$(RM) wget.info*
|
||||||
|
4
doc/texi2pod.pl.in → doc/texi2pod.pl
Normal file → Executable file
4
doc/texi2pod.pl.in → doc/texi2pod.pl
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/perl -w
|
#! /usr/bin/env perl
|
||||||
|
|
||||||
# Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
|
# 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
|
# markup to Perl POD format. It's intended to be used to extract
|
||||||
# something suitable for a manpage from a Texinfo document.
|
# something suitable for a manpage from a Texinfo document.
|
||||||
|
|
||||||
|
use warnings;
|
||||||
|
|
||||||
$output = 0;
|
$output = 0;
|
||||||
$skipping = 0;
|
$skipping = 0;
|
||||||
%sects = ();
|
%sects = ();
|
Loading…
Reference in New Issue
Block a user