Skip to content

Commit

Permalink
Merge pull request #9 from vroncevic/dev
Browse files Browse the repository at this point in the history
[gen_c_pro] Fixed tab setup for generating Makefile.root
  • Loading branch information
vroncevic committed Jan 20, 2021
2 parents abb20a9 + 7baaf86 commit 863b6ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions sh_tool/bin/gen_c_pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ GEN_C_PRO_CFG=${GEN_C_PRO_HOME}/conf/${GEN_C_PRO_TOOL}.cfg
GEN_C_PRO_UTIL_CFG=${GEN_C_PRO_HOME}/conf/${GEN_C_PRO_TOOL}_util.cfg
GEN_C_PRO_LOG=${GEN_C_PRO_HOME}/log

declare -A GEN_C_PRO_USAGE=(
[USAGE_TOOL]="${GEN_C_PRO_TOOL}"
[USAGE_ARG1]="[PROJECT NAME] C Project name"
[USAGE_EX_PRE]="# Generating C project"
[USAGE_EX]="${GEN_C_PRO_TOOL} rtp"
declare -A GEN_C_PRO_Usage=(
[Usage_TOOL]="${GEN_C_PRO_TOOL}"
[Usage_ARG1]="[PROJECT NAME] C Project name"
[Usage_EX_PRE]="# Generating C project"
[Usage_EX]="${GEN_C_PRO_TOOL} rtp"
)

declare -A GEN_C_PRO_LOGGING=(
Expand Down Expand Up @@ -93,7 +93,7 @@ function __gen_c_pro {
TOOL_LOG=${config_gen_c_pro[LOGGING]}
TOOL_DBG=${config_gen_c_pro[DEBUGGING]}
TOOL_NOTIFY=${config_gen_c_pro[EMAILING]}
local V=${config_gen_c_pro_util[VERSION]} DATE=`date` T=" "
local V=${config_gen_c_pro_util[VERSION]} DATE=`date` T=" "
local AN=${config_gen_c_pro_util[AUTHOR_NAME]} BSL="\\" H="#"
local AE=${config_gen_c_pro_util[AUTHOR_EMAIL]}
local PROJECT_SET=${config_gen_c_pro_util[PROJECT_SET]} TREE
Expand Down Expand Up @@ -239,7 +239,7 @@ function __gen_c_pro {
fi
exit 0
fi
usage GEN_C_PRO_USAGE
usage GEN_C_PRO_Usage
exit 128
}

Expand Down
2 changes: 1 addition & 1 deletion sh_tool/conf/template/makefile_am_root.template
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ ${H}" @brief Process this file with automake to produce Makefile.in."

${H}" Remove doc directory on uninstall"
"uninstall-local:"
${T}"-rm -r \\\$(docdir)"
"${T}-rm -r \\\$(docdir)"

0 comments on commit 863b6ac

Please sign in to comment.