From 2f0780b82f507bfb7958ec2bc6aa188cac677c09 Mon Sep 17 00:00:00 2001 From: 53hornet <53hornet@gmail.com> Date: Mon, 3 Sep 2018 07:55:16 -0400 Subject: Added basic wedding site structure --- makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 386f151..74435b6 100644 --- a/makefile +++ b/makefile @@ -6,11 +6,13 @@ PNG = $(shell find md/ -type f -name '*.png') CSS_OUT = $(patsubst md/%.css, html/%.css, $(CSS)) JPG_OUT = $(patsubst md/%.jpg, html/%.jpg, $(JPG)) PNG_OUT = $(patsubst md/%.png, html/%.png, $(PNG)) + 53HORNET_OUT = $(patsubst md/53hor.net/%.md, html/53hor.net/%.html, $(MD)) ATC_OUT = $(patsubst md/atc.53hor.net/%.md, html/atc.53hor.net/%.html, $(MD)) +WED_OUT = $(patsubst md/wedding/%.md, html/wedding/%.html, $(MD)) .PHONY: all -all: css img 53hor.net atc.53hor.net alsplusatc.net +all: css img 53hor.net atc.53hor.net wedding .PHONY: css css: $(CSS_OUT) @@ -49,5 +51,13 @@ html/atc.53hor.net/%.html: md/atc.53hor.net/%.md md/atc.53hor.net/nav.html @mkdir -p "$(@D)" @pandoc "$<" -f markdown -t html5 -s --toc --toc-depth=3 -B md/atc.53hor.net/nav.html -c /styles.css -o "$@" +.PHONY: wedding +wedding: $(WED_OUT) + +html/wedding/%.html: md/wedding/%.md md/wedding/nav.html + @echo "wedding: $< -> $@" + @mkdir -p "$(@D)" + @pandoc "$<" -f markdown -t html5 -s -B md/wedding/nav.html -c /styles.css -o "$@" + clean: @rm -rf html/ -- cgit v1.2.3