f0af029bd4
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>
21 lines
436 B
Makefile
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
|