summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPrefetch2021-10-03 21:42:46 +0200
committerPrefetch2021-10-03 21:42:46 +0200
commitbd5796ceb2da03291124ab8ff66769ac67a585c9 (patch)
tree1ab16135066b4771e2f251e8aa26999f71799232 /Makefile
parentdedb366c3a78f61c64f6be627ea091e71e009f7d (diff)
Reveal name + general improvements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 104b8ff..6fd2934 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
FINDARGS= \( -name "*.html" -o -name "*.xml" -o -name "*.css" -o -name "*.js" \)
all:
- rm -rf public/*
hugo
for f in `find public/ -type f $(FINDARGS)`; do \
echo "Compressing $$f..." ; \
gzip --keep --force -9 $$f ; \
brotli --keep --force -Z $$f ; \
done
+ @echo "###########################################"
+ @echo "### If you (re)moved files, remember to ###"
+ @echo "#### delete them manually from public/ ####"
+ @echo "###########################################"