openbsd-ports/net/wget/patches/patch-doc_Makefile_in

46 lines
1.6 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-doc_Makefile_in,v 1.3 2008/10/09 18:50:45 sthen Exp $
--- doc/Makefile.in.orig Sun Apr 27 05:48:19 2008
+++ doc/Makefile.in Thu Oct 9 15:34:59 2008
2001-10-01 23:15:03 -04:00
@@ -51,7 +51,7 @@ RM = rm -f
TEXI2POD = $(srcdir)/texi2pod.pl
2001-10-01 23:15:03 -04:00
POD2MAN = @POD2MAN@
MAN = wget.$(manext)
-WGETRC = $(sysconfdir)/wgetrc
+WGETRCDIR = $(prefix)/share/examples/wget
SAMPLERCTEXI = sample.wgetrc.munged_for_texi_inclusion
#
2001-10-01 23:15:03 -04:00
@@ -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
2001-10-01 23:15:03 -04:00
install.wgetrc: $(srcdir)/sample.wgetrc
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
- @if test -f $(DESTDIR)$(WGETRC); then \
2001-10-01 23:15:03 -04:00
- if cmp -s $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); then echo ""; \
- else \
2001-10-01 23:15:03 -04:00
- echo ' $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new'; \
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC).new; \
2001-01-11 09:45:34 -05:00
- echo; \
2001-10-01 23:15:03 -04:00
- echo "WARNING: Differing \`$(DESTDIR)$(WGETRC)'"; \
2001-01-11 09:45:34 -05:00
- echo " exists and has been spared. You might want to"; \
- echo " consider merging in the new lines from"; \
2001-10-01 23:15:03 -04:00
- echo " \`$(DESTDIR)$(WGETRC).new'."; \
2001-01-11 09:45:34 -05:00
- echo; \
- fi; \
- else \
2001-10-01 23:15:03 -04:00
- $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRC); \
- fi
2001-10-01 23:15:03 -04:00
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(WGETRCDIR)
+ $(INSTALL_DATA) $(srcdir)/sample.wgetrc $(DESTDIR)$(WGETRCDIR)
# uninstall info pages
uninstall.info: