Add app.js to the dependency list for the asset rebuild

This commit is contained in:
João Silva committed 2026-10-30 22:53:21 +00:00
1 parent 2866be022e
commit 664f7e3c4a
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@ $(HTML_MIN_LIST): FORCE
@echo $(sort $(HTML)) > $@.tmp @echo $(sort $(HTML)) > $@.tmp
@cmp -s $@.tmp $@ && rm -f $@.tmp || mv $@.tmp $@ @cmp -s $@.tmp $@ && rm -f $@.tmp || mv $@.tmp $@
$(HTML_MIN_STAMP): $(HTML) $(HTML_MIN_LIST) tools/minify.py $(if $(wildcard $(HTML_MIN)),,FORCE) $(HTML_MIN_STAMP): $(HTML) html/app.js $(HTML_MIN_LIST) tools/minify.py tools/rjsmin.py $(if $(wildcard $(HTML_MIN)),,FORCE)
rm -rf $(HTML_MIN) rm -rf $(HTML_MIN)
mkdir -p $(HTML_MIN) mkdir -p $(HTML_MIN)
@for f in $(HTML); do python3 tools/minify.py $$f $(HTML_MIN)/$$(basename $$f) || exit 1; done @for f in $(HTML); do python3 tools/minify.py $$f $(HTML_MIN)/$$(basename $$f) || exit 1; done