forked from collaborare-dot-net/expressjs.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (34 loc) · 1.05 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
JADE = ./node_modules/.bin/jade
HTML = index.html \
api.html \
3x/api.html \
4x/api.html \
resources/books-blogs.html \
resources/community.html \
resources/applications.html \
resources/middleware.html \
resources/glossary.html \
starter/faq.html \
starter/generator.html \
starter/hello-world.html \
starter/installing.html \
starter/basic-routing.html \
guide/routing.html \
guide/error-handling.html \
guide/debugging.html \
guide/behind-proxies.html \
guide/migrating-4.html \
guide/using-middleware.html \
guide/using-template-engines.html \
guide/database-integration.html \
advanced/security.html \
advanced/performance.html \
advanced/developing-template-engines.html
docs: $(HTML)
4x/api.html: 4x/api.jade 4x/en/api/*.jade includes/*.jade
$(JADE) --path $< < $< > $@
%.html: %.jade includes/*.jade guide/*.jade resources/*.jade advanced/*.jade starter/*.jade
$(JADE) --path $< < $< > $@
clean:
rm -f *.html 3x/*.html 4x/*.html guide/*.html resources/*.html advanced/*.html starter/*.html
.PHONY: docs clean