From 909a0e4d3fa3cb5ac9cd8d48f269c7ebdfafcfde Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 22 Jan 2008 07:12:04 +0000
Subject: [PATCH] Change the install directory for the tools

Currently, the tools are installed under $prefix/share/ganeti. This
prevents installing other things in a nice way under share/ganeti (like
arch-independent OS definitions), therefore we want the tools to live
under share/ganeti/tools.

A second change is that since these are programs, they would better live
under libdir than datadir - we might have to change them later to
binaries in which case 'share' is definitely not the way to go.

This patch therefore changes the install directory for the tools to
$prefix/lib/ganeti/tools.

Reviewed-by: imsnah
---
 tools/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index 20db9ec63..4dd67cb36 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1 +1,2 @@
-dist_pkgdata_SCRIPTS = lvmstrap burnin cfgshell cfgupgrade
+toolsdir = $(pkglibdir)/tools
+dist_tools_SCRIPTS = lvmstrap burnin cfgshell cfgupgrade
-- 
GitLab