From cb1ef78d2f83e29ec87092ebfe74851ec67cd57f Mon Sep 17 00:00:00 2001 From: Carlos Cesario Date: Tue, 8 Apr 2014 12:15:19 -0300 Subject: [PATCH] Install icingacli bin Signed-off-by: Thomas Gelf --- Makefile.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index a8fc908cc..757fc5642 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,6 +6,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@ prefix=@prefix@ exec_prefix=@exec_prefix@ +bindir=@bindir@ HTTPD_CONFIG_PATH=@httpd_config_path@ ICINGAWEB_CONFIG_PATH=@icingaweb_config_path@ @@ -24,7 +25,15 @@ default: # # Installs the whole application w\o httpd configurations # -install: install-config install-basic ensure-writable-folders +install: install-config install-basic ensure-writable-folders install-cli + +# +# Install icingacli bin +# + +install-cli: + $(INSTALL) -m 755 -d $(INSTALL_OPTS) $(bindir) + $(INSTALL) -m 755 $(INSTALL_OPTS) "./bin/icingacli" $(bindir)/icingacli; # # Installs the whole application w\o configuration @@ -91,7 +100,7 @@ install-apache-config: # # Installs the php files to the prefix # -install-application: copy-web-files-application copy-web-files-library +install-application: copy-web-files-application copy-web-files-library install-cli # # Rule for copying folders and containing files (arbitary types), hidden files are excluded