summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/couchdb/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/couchdb/Makefile.am b/etc/couchdb/Makefile.am
index 253634de..805274c4 100644
--- a/etc/couchdb/Makefile.am
+++ b/etc/couchdb/Makefile.am
@@ -56,8 +56,12 @@ default_dev.ini: default.ini.tpl
-e "s|%couchjs_command_name%|$(couchjs_dev_command_name)|g" \
< $< > $@
-local_dev.ini:
- cp local.ini $@
+# Noah said to not specify local.ini but it borks
+# VPATH builds that make distcheck uses.
+local_dev.ini: local.ini
+ if test ! -f "$@"; then \
+ cp $< $@; \
+ fi
install-data-hook:
if test ! -f "$(DESTDIR)$(localconfdir)/local.ini"; then \