Commit 7617fd6b authored by Iustin Pop's avatar Iustin Pop

htools: install hail in the iallocator dir

Instead of bindir. We do this by adding a new allocdir variable, and
redirecting hail to it.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 61d01c0f
......@@ -22,6 +22,7 @@ CHECK_NEWS = $(top_srcdir)/autotools/check-news
DOCPP = $(top_srcdir)/autotools/docpp
REPLACE_VARS_SED = autotools/replace_vars.sed
# Note: the variable must be named after the directory + 'dir' suffix
clientdir = $(pkgpythondir)/client
hypervisordir = $(pkgpythondir)/hypervisor
httpdir = $(pkgpythondir)/http
......@@ -33,6 +34,7 @@ watcherdir = $(pkgpythondir)/watcher
impexpddir = $(pkgpythondir)/impexpd
utilsdir = $(pkgpythondir)/utils
toolsdir = $(pkglibdir)/tools
iallocatorsdir = $(pkglibdir)/iallocators
docdir = $(datadir)/doc/$(PACKAGE)
# Delete output file if an error occurred while building it
......@@ -401,8 +403,10 @@ qa_scripts = \
qa/qa_utils.py
bin_SCRIPTS =
iallocators_SCRIPTS =
if WANT_HTOOLS
bin_SCRIPTS += $(HPROGS)
bin_SCRIPTS += $(filter-out htools/hail,$(HPROGS))
iallocators_SCRIPTS += $(filter htools/hail,$(HPROGS))
endif
$(HALLPROGS): %: %.hs $(HSRCS) $(HSRCS2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment