[mod] Übersetzungs-System angebunden

This commit is contained in:
roydfalk 2024-04-30 14:18:31 +02:00
parent a3adfc9a09
commit 0231057e04

View file

@ -15,7 +15,7 @@ cmd_cp := cp
## rules
.PHONY: default
default: ${dir_build}/logic.js ${dir_build}/style.css ${dir_build}/index.html
default: ${dir_build}/logic.js ${dir_build}/style.css ${dir_build}/index.html data
${dir_temp}/logic-unlinked.js: \
${dir_lib}/plankton/plankton.d.ts \
@ -67,3 +67,9 @@ ${dir_build}/index.html: \
@ ${cmd_log} "structure …"
@ ${cmd_mkdir} $(dir $@)
@ tools/make-index $^ > $@
.PHONY: data
data:
@ ${cmd_log} "data …"
@ ${cmd_mkdir} ${dir_build}/data
@ ${cmd_cp} -r -u -v ${dir_source}/data/* ${dir_build}/data/