diff options
-rw-r--r-- | makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 $< $@ |