pve-manager/www/Makefile
Thomas Lamprecht f0af029bd4 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>
2021-05-28 11:11:17 +02:00

21 lines
436 B
Makefile

include ../defines.mk
SUBDIRS = images css manager6 touch mobile
all:
.PHONY: install
install:
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done
install -m 0644 index.html.tpl ${WWWBASEDIR}
install -d ${WWWJSDIR}
install -m 0644 u2f-api.js ${WWWJSDIR}
install -m 0644 qrcode.min.js ${WWWJSDIR}
.PHONY: check
check:
${MAKE} -C manager6 $@
.PHONY: clean
clean:
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done