From 4a7e94395be75a7f807239b9ef2cb1bdaf3e8bc0 Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Wed, 25 Jul 2012 16:22:10 +0200 Subject: [PATCH] fixed destdir path --- Makefile.am | 2 +- Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8472ff0ab8..3adaf1fa2e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -257,7 +257,7 @@ endif if ENABLE_INSTALL_DBDIR install-data-local: - test -d @localstatedir@/${PACKAGE_TARNAME} || mkdir -p @localstatedir@/${PACKAGE_TARNAME} + test -d $(DESTDIR)$(TRI_DATABASE_DIR) || mkdir -p $(DESTDIR)$(TRI_DATABASE_DIR) endif diff --git a/Makefile.in b/Makefile.in index 7a148adc44..fc9d30d401 100644 --- a/Makefile.in +++ b/Makefile.in @@ -5113,7 +5113,7 @@ Installation/arangod.conf: Installation/arangod.conf.in Makefile ################################################################################ @ENABLE_INSTALL_DBDIR_TRUE@install-data-local: -@ENABLE_INSTALL_DBDIR_TRUE@ test -d @localstatedir@/${PACKAGE_TARNAME} || mkdir -p @localstatedir@/${PACKAGE_TARNAME} +@ENABLE_INSTALL_DBDIR_TRUE@ test -d $(DESTDIR)$(TRI_DATABASE_DIR) || mkdir -p $(DESTDIR)$(TRI_DATABASE_DIR) ################################################################################ ################################################################################