Browse Source

www: saner handling of zip excludes

H. Peter Anvin 2 years ago
parent
commit
d31f1f3413
5 changed files with 7 additions and 3 deletions
  1. 2 3
      esp32/Makefile
  2. BIN
      esp32/output/max80.ino.bin
  3. 5 0
      esp32/zipexclude
  4. BIN
      fpga/output/v1.fw
  5. BIN
      fpga/output/v2.fw

+ 2 - 3
esp32/Makefile

@@ -31,12 +31,11 @@ $(TARGET): $(shell find $(SKETCH) -type f) $(GENFILES)
 		$(ARDUINO_CLI) compile $(ARDUINO_OPTS)
 
 .PHONY: zip
-zip:
+zip: zipexclude
 	mkdir -p zip
 	cd www && \
 		TZ=GMT0 \
-		$(ZIP) -9DrpX -FS ../zip/www.zip . \
-			-x '.*' -x '#*' -x '*~' -x '*.bak'
+		$(ZIP) -9DrpX -FS ../zip/www.zip . -x@../zipexclude
 
 # Ugly hack but needed to avoid unnecessary rebuilds
 www.zip: zip

BIN
esp32/output/max80.ino.bin


+ 5 - 0
esp32/zipexclude

@@ -0,0 +1,5 @@
+*#
+.*
+*~
+*.bak
+*.$$$

BIN
fpga/output/v1.fw


BIN
fpga/output/v2.fw