From 483f8e658800cc62e854fc8a0c2abb4c3654376f Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Tue, 9 Feb 2021 11:23:10 +0900 Subject: scripts: add html_wiki.py Because current PeriJect is using scripts/myhtml.py to creating all HTML files, all files will be re-created if myhtml.py itself was updated. It is very verbose. This patch separates "wiki" from it. Signed-off-by: Kuninori Morimoto --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 857f8e4..36fb89b 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,8 @@ file: make CMD=task FILES=${PARAM} HTML=$(subst yaml,html,$(subst projects,html,${PARAM})) myhtml summary: make CMD=summary FILES=projects/${PARAM} HTML=html/${PARAM}/summary.html myhtml +wikis: + make CMD=wiki FILES="${PARAM}" HTML=$(addprefix html/,$(subst .wiki,.html,${PARAM})) myhtml basic: make HTML_OPTION1="${HTML_OPTION1}" HTML_OPTION2="${HTML_OPTION2}" FILE=${FILE} ${FILE} @@ -71,8 +73,6 @@ noparam: make HTML_OPTION1=${PARAM} HTML_OPTION2="${PRODIR}" FILE=html/${PARAM}.html basic finds: make HTML_OPTION1="${EXP1} ${PARAM}" HTML_OPTION2="$(shell ${FIND} ${EXP2} ${PARAM})" FILE=html/${PARAM}.html basic -wikis: - make HTML_OPTION1=wiki HTML_OPTION2="${PARAM}" FILE=$(addprefix html/,$(subst .wiki,.html,${PARAM})) basic menu: make HTML_OPTION1="menu ${BSP}" HTML_OPTION2="" FILE=html/menu.html basic clean: -- cgit v1.2.3