From 75a082071360f3c5bd6b56cdda0ba1b17038c745 Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Sat, 11 Oct 2008 08:36:27 +0000 Subject: fixed missing DESTDIRs in (un)install hooks, thanks Mark Baran git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@703638 13f79535-47bb-0310-9956-ffa450edef68 --- THANKS | 1 + etc/couchdb/Makefile.am | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/THANKS b/THANKS index 905a4000..fce42783 100644 --- a/THANKS +++ b/THANKS @@ -6,6 +6,7 @@ suggesting improvements or submitting changes. Some of these people are: + * Mark Baran * William Beh * Yoan Blanc * Benoit Chesneau diff --git a/etc/couchdb/Makefile.am b/etc/couchdb/Makefile.am index b2399dcc..382d5425 100644 --- a/etc/couchdb/Makefile.am +++ b/etc/couchdb/Makefile.am @@ -30,9 +30,9 @@ default.ini: default.ini.tpl < $< > $@ install-data-hook: - if test ! -f "$(localconfdir)/local.ini"; then \ - cp local.ini "$(localconfdir)/local.ini"; \ + if test ! -f "$(DESTDIR)/$(localconfdir)/local.ini"; then \ + cp local.ini "$(DESTDIR)/$(localconfdir)/local.ini"; \ fi uninstall-local: - rm -f "$(localconfdir)/local.ini" + rm -f "$(DESTDIR)/$(localconfdir)/local.ini" -- cgit v1.2.3