From ec1d12dbb9215c83232ce0de708a578c7b1f207f Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Tue, 8 Nov 2022 16:01:30 +0100 Subject: [PATCH] ui: add javascript source to `OnlineHelpInfo.js` prerequisites by adding the javascript files as prerequisites, the `OnlineHelpInfo.js` will get re-generated if a new `onlineHelp` key is used. thus, this avoids an issue were valid keys might not get mapped correctly because the info in `OnlineHelpInfo.js` wasn't updated. Signed-off-by: Stefan Sterz --- www/manager6/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/Makefile b/www/manager6/Makefile index d16770b1..5938c7f5 100644 --- a/www/manager6/Makefile +++ b/www/manager6/Makefile @@ -304,7 +304,7 @@ pvemanagerlib.js: .lint-incremental OnlineHelpInfo.js ${JSSRC} cat OnlineHelpInfo.js ${JSSRC} >$@.tmp mv $@.tmp $@ -OnlineHelpInfo.js: /usr/bin/asciidoc-pve +OnlineHelpInfo.js: /usr/bin/asciidoc-pve ${JSSRC} /usr/bin/asciidoc-pve scan-extjs ${JSSRC} >$@.tmp mv $@.tmp $@