openbsd-ports/net/wget/patches/patch-doc_Makefile.in
2001-10-02 03:15:03 +00:00

58 lines
1.9 KiB
Plaintext

$OpenBSD: patch-doc_Makefile.in,v 1.3 2001/10/02 03:15:03 brad Exp $
--- doc/Makefile.in.orig Thu Apr 12 08:25:22 2001
+++ doc/Makefile.in Mon Oct 1 20:19:28 2001
@@ -22,7 +22,7 @@
SHELL = /bin/sh
# Program to format Texinfo source into Info files.
-MAKEINFO = @MAKEINFO@
+MAKEINFO = @MAKEINFO@ --no-split
# Program to format Texinfo source into DVI files.
TEXI2DVI = texi2dvi
# Program to convert DVI files to PostScript
@@ -51,7 +51,7 @@ RM = rm -f
TEXI2POD = ./texi2pod.pl
POD2MAN = @POD2MAN@
MAN = wget.$(manext)
-WGETRC = $(sysconfdir)/wgetrc
+WGETRCDIR = $(prefix)/share/examples/wget
SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion
#
@@ -66,6 +66,7 @@ $(SAMPLERCTEXI): $(srcdir)/sample.wgetrc
sed s/@/@@/g $< > $@
wget.info: $(SAMPLERCTEXI) $(srcdir)/wget.texi
+ @rm -f wget.info*
-$(MAKEINFO)
$(TEXI2POD): $(srcdir)/$(TEXI2POD).in
@@ -119,25 +120,8 @@ install.man: $(MAN)
# install sample.wgetrc
install.wgetrc: $(srcdir)/sample.wgetrc
- $(top_srcdir)/mkinstalldirs $(sysconfdir)
- @if test -f $(WGETRC); then \
- if cmp -s $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); then echo ""; \
- else \
- echo ' $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new'; \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new; \
- echo; \
- echo "WARNING: Differing \`$(DESTDIR)$(WGETRC)'"; \
- echo " exists and has been spared. You might want to"; \
- echo " consider merging in the new lines from"; \
- echo " \`$(DESTDIR)$(WGETRC).new'."; \
- echo; \
- echo "<Hit RETURN to acknowledge>\c"; \
- read user_input; \
- echo; \
- fi; \
- else \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); \
- fi
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(WGETRCDIR)
+ $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRCDIR)
# uninstall info pages
uninstall.info: