themusicinnoise-site/Makefile

18 lines
436 B
Makefile
Raw Normal View History

OUTPUT_DIR=output
2020-11-12 09:08:48 +00:00
.PHONY: pages blog all clean
pages:
mkdir -p $(OUTPUT_DIR)
find pages -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/
cp nicolas@ortegas.org_pub.asc style.css favicon.png $(OUTPUT_DIR)
2020-11-12 09:08:48 +00:00
blog:
mkdir -p $(OUTPUT_DIR)/blog
find blog/posts -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/blog/ -t blog/templates/
2020-11-12 09:08:48 +00:00
all: pages blog
clean:
rm -rf $(OUTPUT_DIR)