diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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/ |