Commit 4591b563 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Tim Gardner

UBUNTU: [Debian] tools -- only build common tools when enabled

Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 069589b8
......@@ -57,6 +57,7 @@ endif
ifneq ($(do_tools),true)
do_linux_tools=
do_cloud_tools=
do_tools_common=
endif
# Either tools package needs the common source preparation
......
......@@ -93,6 +93,7 @@ install-tools: cloudman = $(CURDIR)/debian/$(cloudpkg)/usr/share/man
install-tools: install-source $(stampdir)/stamp-build-perarch
@echo Debug: $@
ifeq ($(do_tools_common),true)
rm -rf $(builddir)/tools
install -d $(builddir)/tools
for i in *; do $(LN) $(CURDIR)/$$i $(builddir)/tools/; done
......@@ -138,7 +139,7 @@ install-tools: install-source $(stampdir)/stamp-build-perarch
dh_installinit -p$(cloudpkg) --name hv-vss-daemon
dh_installinit -p$(cloudpkg) --name hv-fcopy-daemon
dh_systemd_start
endif
install-indep: install-tools
@echo Debug: $@
......
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