prepend head- to .htm files

pull/30/head
Thorsten von Eicken 10 years ago
parent bc49f3c44d
commit de9b4dbe6d
  1. 2
      Makefile

@ -269,7 +269,7 @@ endif
$(BUILD_BASE)/espfs_img.o: html/ html/wifi/ espfs/mkespfsimage/mkespfsimage $(BUILD_BASE)/espfs_img.o: html/ html/wifi/ espfs/mkespfsimage/mkespfsimage
$(Q) rm -rf html_compressed; $(Q) rm -rf html_compressed;
$(Q) cp -r html html_compressed; $(Q) cp -r html html_compressed;
$(Q) for file in `find html_compressed -type f -name "*.html"`; do \ $(Q) for file in `find html_compressed -type f -name "*.htm*"`; do \
cat html_compressed/head- $$file >$${file}-; \ cat html_compressed/head- $$file >$${file}-; \
mv $$file- $$file; \ mv $$file- $$file; \
done done

Loading…
Cancel
Save