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 --- etc/couchdb/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/couchdb') 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