$OpenBSD: patch-doc_Makefile_in,v 1.2 2005/07/25 07:12:58 aanriot Exp $ --- doc/Makefile.in.orig Sun Apr 27 01:48:19 2008 +++ doc/Makefile.in Tue Apr 14 19:26:18 2009 @@ -51,7 +51,7 @@ RM = rm -f TEXI2POD = $(srcdir)/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: $(srcdir)/wget.texi $(SAMPLERCTEXI) $(srcdir)/version.texi + @rm -f wget.info* $(MAKEINFO) -I$(srcdir) $(srcdir)/wget.texi .SECONDARY: wget.pod @@ -128,22 +129,8 @@ install.man: $(MAN) # install sample.wgetrc install.wgetrc: $(srcdir)/sample.wgetrc - $(top_srcdir)/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 + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(WGETRCDIR) + $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRCDIR) # uninstall info pages uninstall.info: