From f64f2bc2e8b74c07908eb5e5d8decc100a78adf9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=98=A4=ED=98=95=EC=84=9D/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Fri, 19 Oct 2018 16:19:49 +0900 Subject: [PATCH] Introduce install script (#3254) * Introduce install script introduce install script Howto: On project root, "./run install" with environment variable setting Signed-off-by: Hyeongseok Oh * Remove ambiguous comment --- scripts/command/install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scripts/command/install diff --git a/scripts/command/install b/scripts/command/install new file mode 100644 index 0000000..c6631ce --- /dev/null +++ b/scripts/command/install @@ -0,0 +1,16 @@ +#!/bin/bash + +source "${NNFW_SCRIPT_PATH}/build.configuration" + +if [[ ! -d "${BUILD_ALIAS}" ]]; then + echo "'${BUILD_ALIAS}' does not exist. Please run 'configure' first" + exit 255 +fi + +if [[ ! -d "${INSTALL_ALIAS}" ]]; then + echo "'${INSTALL_ALIAS}' does not exist. Please run 'configure' first" + exit 255 +fi + +cd ${BUILD_ALIAS} +make install -- 2.7.4