--- doc/Makefile.in.orig	Sat May 23 22:40:42 1998
+++ doc/Makefile.in	Mon Dec 13 22:45:54 1999
@@ -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)/lib/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:
