buildsys: www: touch incremental-lint in check target to avoid triggering twice

Without this the check and the, through the 'install' target
triggered, incremental lint target triggered a full eslint run.

Makes it similar to what PBS did from the beginning of eslint
inclusion..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-28 11:12:57 +02:00
parent f0af029bd4
commit 43166cb6f8

View File

@ -280,10 +280,11 @@ all:
eslint $?
touch "$@"
.PHONY: lint check
.PHONY: lint
check: lint
lint: ${JSSRC}
eslint --strict ${JSSRC}
touch ".lint-incremental"
pvemanagerlib.js: .lint-incremental OnlineHelpInfo.js ${JSSRC}
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp