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 <s.sterz@proxmox.com>
This commit is contained in:
Stefan Sterz 2022-11-08 16:01:30 +01:00 committed by Thomas Lamprecht
parent a3b5c220f9
commit ec1d12dbb9

View File

@ -304,7 +304,7 @@ pvemanagerlib.js: .lint-incremental OnlineHelpInfo.js ${JSSRC}
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
mv $@.tmp $@ mv $@.tmp $@
OnlineHelpInfo.js: /usr/bin/asciidoc-pve OnlineHelpInfo.js: /usr/bin/asciidoc-pve ${JSSRC}
/usr/bin/asciidoc-pve scan-extjs ${JSSRC} >$@.tmp /usr/bin/asciidoc-pve scan-extjs ${JSSRC} >$@.tmp
mv $@.tmp $@ mv $@.tmp $@