about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 731b001..41b4666 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ clean:
 	rm -rf ./public
 	rm -rf ./.*stamp
 
-to_compress := $(shell fd . public --type=file -e html -e xml -e txt -e asc)
+to_compress := $(shell fd . public --type=file -e html -e xml -e xsl -e txt -e asc)
 brotli_files := $(patsubst %, %.br, $(to_compress))
 gzip_files := $(patsubst %, %.gz, $(to_compress))
 zstd_files := $(patsubst %, %.zst, $(to_compress))
@@ -31,6 +31,10 @@ zstd_files := $(patsubst %, %.zst, $(to_compress))
 	@echo $@
 	$(brotli) $<
 
+%.xsl.br: %.xsl
+	@echo $@
+	$(brotli) $<
+
 %.txt.br: %.txt
 	@echo $@
 	$(brotli) $<
@@ -47,6 +51,10 @@ zstd_files := $(patsubst %, %.zst, $(to_compress))
 	@echo $@
 	$(gzip) $<
 
+%.xsl.gz: %.xsl
+	@echo $@
+	$(gzip) $<
+
 %.txt.gz: %.txt
 	@echo $@
 	$(gzip) $<
@@ -63,6 +71,10 @@ zstd_files := $(patsubst %, %.zst, $(to_compress))
 	@echo $@
 	$(zstd) $< > $@
 
+%.xsl.zst: %.xsl
+	@echo $@
+	$(zstd) $< > $@
+
 %.txt.zst: %.txt
 	@echo $@
 	$(zstd) $< > $@