forked from espra/espra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
44 lines (31 loc) · 1.1 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
42
43
44
# No Copyright (-) 2010 The Ampify Authors. This file is under the
# Public Domain license that can be found in the root LICENSE file.
# ------------------------------------------------------------------------------
# some konstants
# ------------------------------------------------------------------------------
AMP := environ/amp
# ------------------------------------------------------------------------------
# we declare our phonies so they stop telling us that targets are up-to-date
# ------------------------------------------------------------------------------
.PHONY: all build clean debug distclean docs test zero
# ------------------------------------------------------------------------------
# our rules, starting with the default
# ------------------------------------------------------------------------------
all: zero
@touch .latest
build:
@$(AMP) build
clean:
rm -f src/instance/www/*.css
debug:
@$(AMP) build --debug
distclean: clean
rm -rf environ/local
rm -rf environ/receipts
rm -rf src/build
rm -f src/ampify/*.so
docs: build
@./environ/yatiblog doc
test:
@$(AMP) test
zero: build