buildsys: www: make 'all' target a no-op

preparatory steps for better make dependencies when executing the
lint check.

People can still just make the .js targets directly or use the
install target.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-28 11:11:15 +02:00
parent 5f2e6c2e57
commit f0af029bd4
3 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
include ../defines.mk
SUBDIRS = images css manager6 touch mobile
all: ${SUBDIRS} index.html.tpl
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done
all:
.PHONY: install
install:

View File

@ -274,7 +274,7 @@ JSSRC= \
Workspace.js \
# end of JSSRC list
all: pvemanagerlib.js
all:
.lint-incremental: ${JSSRC}
eslint $?

View File

@ -25,7 +25,7 @@ JSSRC= \
LXCSummary.js \
app.js
all: pvemanager-mobile.js
all:
pvemanager-mobile.js: ${JSSRC}
cat ${JSSRC} >$@.tmp