From 2bc242fda8138ba8f8730f242771399ec5badd72 Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Tue, 21 Apr 2009 14:51:17 +0000 Subject: added new configuration system git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767164 13f79535-47bb-0310-9956-ffa450edef68 --- etc/couchdb/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'etc/couchdb/Makefile.am') diff --git a/etc/couchdb/Makefile.am b/etc/couchdb/Makefile.am index 39eadea2..39073a2a 100644 --- a/etc/couchdb/Makefile.am +++ b/etc/couchdb/Makefile.am @@ -48,6 +48,14 @@ install-data-hook: if test ! -f "$(DESTDIR)/$(localconfdir)/local.ini"; then \ cp $(srcdir)/local.ini "$(DESTDIR)/$(localconfdir)/local.ini"; \ fi + if test ! "$(mkdir_p)" = ""; then \ + $(mkdir_p) "$(DESTDIR)/$(localconfdir)/default.d"; \ + $(mkdir_p) "$(DESTDIR)/$(localconfdir)/local.d"; \ + else \ + echo "WARNING: You may have to create these directories by hand."; \ + mkdir -p "$(DESTDIR)/$(localconfdir)/default.d"; \ + mkdir -p "$(DESTDIR)/$(localconfdir)/local.d"; \ + fi uninstall-local: rm -f "$(DESTDIR)/$(localconfdir)/local.ini" -- cgit v1.2.3