Changes to html files now trigger compressor in make

pull/502/head
Jaap de Wolff 4 years ago
parent cf329e8b84
commit 457a7e8ba7
  1. 2
      Makefile

@ -424,7 +424,7 @@ ifeq ("$(COMPRESS_W_HTMLCOMPRESSOR)","yes")
$(BUILD_BASE)/espfs_img.o: tools/$(HTML_COMPRESSOR) $(BUILD_BASE)/espfs_img.o: tools/$(HTML_COMPRESSOR)
endif endif
$(BUILD_BASE)/espfs_img.o: html/ html/wifi/ espfs/mkespfsimage/mkespfsimage $(BUILD_BASE)/espfs_img.o: $(wildcard html/*) $(wildcard html/wifi/*) espfs/mkespfsimage/mkespfsimage
$(Q) rm -rf html_compressed; mkdir html_compressed; mkdir html_compressed/wifi; $(Q) rm -rf html_compressed; mkdir html_compressed; mkdir html_compressed/wifi;
$(Q) cp -r html/*.ico html_compressed; $(Q) cp -r html/*.ico html_compressed;
$(Q) cp -r html/*.css html_compressed; $(Q) cp -r html/*.css html_compressed;

Loading…
Cancel
Save