From b372cf17db0b15d2c85cc03423309e59b085c0c8 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Tue, 9 Feb 2021 10:32:29 +0900 Subject: scripts: add html_menu.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 "menu" from it. Signed-off-by: Kuninori Morimoto --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3e41a9c..917a707 100644 --- a/Makefile +++ b/Makefile @@ -67,13 +67,14 @@ wikis: make CMD=wiki FILES="${PARAM}" HTML=$(addprefix html/,$(subst .wiki,.html,${PARAM})) myhtml noparam: make CMD=${PARAM} HTML=html/${PARAM}.html myhtml +menu: + make CMD=menu OPTION="${BSP}" HTML=html/menu.html myhtml + basic: make HTML_OPTION1="${HTML_OPTION1}" HTML_OPTION2="${HTML_OPTION2}" FILE=${FILE} ${FILE} finds: make HTML_OPTION1="${EXP1} ${PARAM}" HTML_OPTION2="$(shell ${FIND} ${EXP2} ${PARAM})" FILE=html/${PARAM}.html basic -menu: - make HTML_OPTION1="menu ${BSP}" HTML_OPTION2="" FILE=html/menu.html basic clean: @rm -fr html @rm -fr *.html -- cgit v1.2.3