$NetBSD: patch-Makefile.in,v 1.2 2012/07/29 10:11:17 adam Exp $ Handle configuration files. --- Makefile.in.orig 2011-03-28 19:22:39.000000000 +0000 +++ Makefile.in @@ -1581,11 +1581,9 @@ doc: $(DOXYGEN) c-icap.dox install-data-local: - $(mkinstalldirs) $(DESTDIR)$(CONFIGDIR); - $(INSTALL) c-icap.conf $(DESTDIR)$(CONFIGDIR)/c-icap.conf.default - $(INSTALL) c-icap.magic $(DESTDIR)$(CONFIGDIR)/c-icap.magic.default - if test ! -f $(DESTDIR)$(CONFIGDIR)/c-icap.conf; then $(INSTALL) c-icap.conf $(DESTDIR)$(CONFIGDIR)/c-icap.conf; fi - if test ! -f $(DESTDIR)$(CONFIGDIR)/c-icap.magic; then $(INSTALL) c-icap.magic $(DESTDIR)$(CONFIGDIR)/c-icap.magic; fi + $(mkinstalldirs) $(DESTDIR)$(datadir)/c-icap; + $(INSTALL) c-icap.conf $(DESTDIR)$(datadir)/c-icap/c-icap.conf.default + $(INSTALL) c-icap.magic $(DESTDIR)$(datadir)/c-icap/c-icap.magic.default $(mkinstalldirs) $(DESTDIR)$(LOGDIR); $(mkinstalldirs) $(DESTDIR)$(SOCKDIR); chgrp nogroup $(DESTDIR)$(LOGDIR) || echo -e "*********\nWARNING! Can not set group for the log dir $(DESTDIR)$(LOGDIR)\n*********\n"