openbsd-ports/net/wget/patches/patch-doc_Makefile.in
brad 0cd32d6ff0 - add KAME 06/24 IPv6 patch
- use better filenames for patches
- remove hard coded /etc in INSTALL/DEINSTALL scripts and use variable
substitution to fill it in.
2000-08-15 05:47:12 +00:00

51 lines
1.4 KiB
Plaintext

--- doc/Makefile.in.orig Sat May 23 22:40:42 1998
+++ doc/Makefile.in Fri Aug 4 13:14:52 2000
@@ -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
@@ -45,7 +45,7 @@
RM = rm -f
MAN = wget.$(manext)
-WGETRC = $(sysconfdir)/wgetrc
+WGETRCDIR = $(prefix)/share/examples/wget
#
# Dependencies for building
@@ -56,6 +56,7 @@
everything: all wget_us.ps wget_a4.ps wget_toc.html
wget.info: wget.texi
+ @rm -f wget.info*
-$(MAKEINFO)
#wget.cat: $(MAN)
@@ -99,19 +100,8 @@
# install sample.wgetrc
install.wgetrc:
- $(top_srcdir)/mkinstalldirs $(sysconfdir)
- @if test -f $(WGETRC); then \
- if cmp -s $(srcdir)/sample.wgetrc $(WGETRC); then echo ""; \
- else \
- echo ' $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC).new'; \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC).new; \
- echo "WARNING: File \`$(WGETRC)' already exists and is spared."; \
- echo " You might want to consider \`$(WGETRC).new',"; \
- echo " and merge both into \`$(WGETRC)', for the best."; \
- fi; \
- else \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC); \
- fi
+ $(top_srcdir)/mkinstalldirs $(WGETRCDIR)
+ $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRCDIR);
# uninstall info pages
uninstall.info: