diff options
author | 53hornet <53hornet@gmail.com> | 2018-09-03 07:55:16 -0400 |
---|---|---|
committer | 53hornet <53hornet@gmail.com> | 2018-09-03 07:55:16 -0400 |
commit | 2f0780b82f507bfb7958ec2bc6aa188cac677c09 (patch) | |
tree | 9ddbe603a7b94387b42c28d514b7899f97050fc0 /makefile | |
parent | ef70b6074baefb3120a2d6740d0f82230191b234 (diff) | |
download | md-site-2f0780b82f507bfb7958ec2bc6aa188cac677c09.tar.xz md-site-2f0780b82f507bfb7958ec2bc6aa188cac677c09.zip |
Added basic wedding site structure
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/ |