f1345f3dc9
ok okan@
44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
$OpenBSD: patch-etc_Makefile_in,v 1.3 2010/04/23 11:18:43 pea Exp $
|
|
--- etc/Makefile.in.orig Wed Mar 24 00:33:52 2010
|
|
+++ etc/Makefile.in Fri Apr 16 10:34:53 2010
|
|
@@ -22,7 +22,7 @@
|
|
# permission and modified beyond recognition.
|
|
|
|
VPATH = @srcdir@
|
|
-pkgdatadir = $(datadir)/@PACKAGE@
|
|
+pkgdatadir = $(datadir)/examples/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
@@ -422,26 +422,10 @@ uninstall-am: uninstall-pkgdataDATA
|
|
|
|
|
|
install-data-local: all
|
|
- @if test "$(DO_CONF_INSTALL)" = "yes"; then \
|
|
- if test -f $(DESTDIR)$(sysconfdir)/rancid.conf ; then \
|
|
- echo ""; \
|
|
- echo "WARNING: *** $(DESTDIR)$(sysconfdir)/rancid.conf exists. See "; \
|
|
- echo " *** $(pkgdatadir)/rancid.conf.sample for new"; \
|
|
- echo " *** examples."; \
|
|
- echo ""; \
|
|
- else \
|
|
- $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf; \
|
|
- fi; \
|
|
- if test -f $(DESTDIR)$(sysconfdir)/lg.conf ; then \
|
|
- echo ""; \
|
|
- echo "WARNING: *** $(DESTDIR)$(sysconfdir)/lg.conf exists. See "; \
|
|
- echo " *** $(pkgdatadir)/lg.conf.sample for new"; \
|
|
- echo " *** examples."; \
|
|
- echo ""; \
|
|
- else \
|
|
- $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf; \
|
|
- fi; \
|
|
- fi
|
|
+ test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)"
|
|
+ $(INSTALL_DATA) ../cloginrc.sample $(DESTDIR)$(pkgdatadir)/cloginrc.sample; \
|
|
+ $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(pkgdatadir)/rancid.conf; \
|
|
+ $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(pkgdatadir)/lg.conf; \
|
|
|
|
lg.conf.sample: Makefile $(srcdir)/lg.conf.sample.in
|
|
rm -f lg.conf.sample lg.conf.sample.tmp; \
|