mirror of
https://github.com/mirror/wget.git
synced 2026-08-22 19:03:27 +08:00
[svn] Allow building in a separate tree when writing to source tree is impossible.
This commit is contained in:
@@ -48,7 +48,7 @@ INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
RM = rm -f
|
||||
|
||||
TEXI2POD = $(srcdir)/texi2pod.pl
|
||||
TEXI2POD = texi2pod.pl
|
||||
POD2MAN = @POD2MAN@
|
||||
MAN = wget.$(manext)
|
||||
WGETRC = $(sysconfdir)/wgetrc
|
||||
@@ -68,12 +68,12 @@ $(SAMPLERCTEXI): $(srcdir)/sample.wgetrc
|
||||
wget.info: $(srcdir)/wget.texi $(SAMPLERCTEXI)
|
||||
$(MAKEINFO) -I$(srcdir) $<
|
||||
|
||||
$(TEXI2POD): $(TEXI2POD).in
|
||||
$(TEXI2POD): $(srcdir)/$(TEXI2POD).in
|
||||
sed 's,^#! /usr/bin/perl,#! @PERL@,' $? > $@
|
||||
chmod u+x $@
|
||||
|
||||
wget.pod: $(srcdir)/wget.texi $(TEXI2POD)
|
||||
$(TEXI2POD) $(srcdir)/wget.texi $@
|
||||
./$(TEXI2POD) $(srcdir)/wget.texi $@
|
||||
|
||||
$(MAN): wget.pod
|
||||
$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
|
||||
|
||||
Reference in New Issue
Block a user