From e5760fd94165ba3c5da1500425c7ade4dd9e52bc Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 4 Oct 2025 13:54:26 +0200 Subject: make install target --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index 6ed3114..43563a4 100644 --- a/makefile +++ b/makefile @@ -1,10 +1,16 @@ HTML = $(patsubst %.md,%.html,$(shell find -name '*.md')) +PREFIX = /usr/share/webapps/metamuffin-website .PHONY: all clean all: $(HTML) clean: rm -vf $(HTML) +install: + install -Dm644 style.css $(PREFIX)/style.css + install -dm755 $(PREFIX)/blog + install -Dm644 $(wildcard *.html) $(PREFIX) + install -Dm644 $(wildcard blog/*.html) $(PREFIX)/blog %.html: %.md process.py template.html python process.py $< $@ -- cgit v1.2.3-70-g09d2