1048c7b1c1
adjust to use ${SUBST_CMD}. ok okan@
46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
$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
|
|
@@ -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:
|