forked from sgrif/diesel.rs-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
21 lines (16 loc) · 1001 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%.html:
mkdir -p out/$(dir $@)
pandoc -t html5 --template=template.html -F code-block-filter.py src/$*.md -o out/$*.html -s --syntax-definition=toml.xml --highlight-style=diesel.theme
guides: guides/all-about-updates.html guides/all-about-inserts.html guides/composing-applications.html guides/configuring-diesel-cli.html guides/extending-diesel.html guides/getting-started.html guides/index.html guides/schema-in-depth.html
cp -r src/guides/all-about-inserts/ out/guides/all-about-inserts/
cp -r src/guides/all-about-updates/ out/guides/all-about-updates/
cp -r src/guides/composing-applications/ out/guides/composing-applications/
cp -r src/guides/configuring-diesel-cli/ out/guides/configuring-diesel-cli/
cp -r src/guides/extending-diesel/ out/guides/extending-diesel/
cp -r src/guides/getting-started/ out/guides/getting-started/
cp -r src/guides/schema-in-depth/ out/guides/schema-in-depth/
docs: docs/index.html
page: index.html guides docs
cp assets/ out -r
clean:
rm out -r