--- doc/Makefile.in.orig Tue Sep 22 18:40:11 2009 +++ doc/Makefile.in Thu Oct 1 14:53:44 2009 @@ -598,7 +598,7 @@ RM = rm -f TEXI2POD = $(srcdir)/texi2pod.pl MAN = wget.$(manext) -WGETRC = $(sysconfdir)/wgetrc +WGETRCDIR = $(prefix)/share/examples/wget SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion # @@ -1067,23 +1067,9 @@ # install sample.wgetrc install.wgetrc: $(srcdir)/sample.wgetrc - $(mkinstalldirs) $(DESTDIR)$(sysconfdir) - @if test -f $(DESTDIR)$(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; \ - fi; \ - else \ - $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); \ - fi - + $(mkinstalldirs) $(DESTDIR)$(WGETRCDIR) + $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRCDIR) + # uninstall man page uninstall.man: $(RM) $(DESTDIR)$(mandir)/man$(manext)/$(MAN)