966be80fe8
-- From: David Gwynne <loki at niteshade dot net> with a number of changes from me
46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
$OpenBSD: patch-doc_Makefile_in,v 1.1 2003/05/14 15:03:51 brad Exp $
|
|
--- doc/Makefile.in.orig Wed May 14 16:13:38 2003
|
|
+++ doc/Makefile.in Wed May 14 16:21:33 2003
|
|
@@ -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: $(SAMPLERCTEXI) $(srcdir)/wget.texi
|
|
+ @rm -f wget.info*
|
|
$(MAKEINFO) -I$(srcdir)
|
|
|
|
$(TEXI2POD): $(TEXI2POD).in
|
|
@@ -127,22 +128,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:
|