From 3782f2e533b0a5e517e2e4074db166c8d65dc8cd Mon Sep 17 00:00:00 2001 From: lemurianmage Date: Sat, 13 Jun 2026 17:24:45 +0200 Subject: buttons --- makefile | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile deleted file mode 100644 index 8c7f1de..0000000 --- a/makefile +++ /dev/null @@ -1,37 +0,0 @@ -all: build - -build: $(patsubst src/%.md, out/%.html, $(shell find src -type f)) \ - $(patsubst static/%, out/%, $(shell find static -type f)) \ - $(patsubst src/%, out/%, $(shell find src -type f ! -name "*.md")) - -serve: - xdg-open http://localhost:8000/ - python3 -m http.server -d out/ - -watch: - find . -type f ! -path "./out/*" | entr make build - -out/%.html: src/%.md template.html template.pl - @mkdir -p $(dir $@) - ./template.pl $< > $@ - -out/%: src/% - @mkdir -p $(dir $@) - cp $< $@ - -out/%: static/% - @mkdir -p $(dir $@) - cp $< $@ - -compress: build # for gzip-static, check the openbsd httpd.conf(5) man page - find out/ -type f \( -name "*.html" -o -name "*.css" \) \ - -exec gzip -k {} \; - -publish: compress build - rsync -rcvP --delete out/ \ - lemurianmage@slimegirl.nexus:/var/www/htdocs/slimegirl.nexus - -clean: - rm -r out/ - -.PHONY: build serve watch compress publish clean -- cgit v1.2.3