From: Skullheadx Date: Sun, 21 Jun 2026 23:46:45 +0000 (-0400) Subject: gzip compress X-Git-Url: http://git.skullheadx.com/blog/openbsd_html_css/phil/static/links.html?a=commitdiff_plain;p=skullheadx.com.git gzip compress --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b41f9de --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Find all .html files recursively in the project, excluding any already gzipped files +HTML_FILES := $(shell find . -type f -name "*.html") + +# Define the target .gz files based on the found .html files +GZ_FILES := $(HTML_FILES:.html=.html.gz) + +# The default target that runs when you just type 'make' +all: $(GZ_FILES) + +# Rule to create a .html.gz file from a .html file +# -k keeps the original .html file +# -f forces overwriting if a .gz already exists +%.html.gz: %.html + gzip -k -f $< + +# Clean up all generated .gz files +clean: + rm -f $(GZ_FILES) + +# Mark 'all' and 'clean' as phony targets so they don't conflict with files named 'all' or 'clean' +.PHONY: all clean diff --git a/about.html.gz b/about.html.gz new file mode 100644 index 0000000..5646949 Binary files /dev/null and b/about.html.gz differ diff --git a/blog/aria_of_the_soul.html.gz b/blog/aria_of_the_soul.html.gz new file mode 100644 index 0000000..900e400 Binary files /dev/null and b/blog/aria_of_the_soul.html.gz differ diff --git a/blog/index.html.gz b/blog/index.html.gz new file mode 100644 index 0000000..2c7adac Binary files /dev/null and b/blog/index.html.gz differ diff --git a/index.html.gz b/index.html.gz new file mode 100644 index 0000000..dabb55e Binary files /dev/null and b/index.html.gz differ diff --git a/life/index.html.gz b/life/index.html.gz new file mode 100644 index 0000000..cef0e30 Binary files /dev/null and b/life/index.html.gz differ diff --git a/links.html.gz b/links.html.gz new file mode 100644 index 0000000..93af733 Binary files /dev/null and b/links.html.gz differ diff --git a/music/index.html.gz b/music/index.html.gz new file mode 100644 index 0000000..d9f5c17 Binary files /dev/null and b/music/index.html.gz differ diff --git a/now.html.gz b/now.html.gz new file mode 100644 index 0000000..d48a5a7 Binary files /dev/null and b/now.html.gz differ diff --git a/phil/index.html.gz b/phil/index.html.gz new file mode 100644 index 0000000..7957373 Binary files /dev/null and b/phil/index.html.gz differ diff --git a/projects.html.gz b/projects.html.gz new file mode 100644 index 0000000..c058e93 Binary files /dev/null and b/projects.html.gz differ diff --git a/tech/index.html.gz b/tech/index.html.gz new file mode 100644 index 0000000..96e8abf Binary files /dev/null and b/tech/index.html.gz differ