forked from beyondgrep/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (28 loc) · 719 Bytes
/
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
.PHONY: \
chart \
crank \
clean \
local \
install
PWD=$(shell pwd)
BUILD=$(PWD)/build
SOURCE=$(PWD)/tt
default: crank
clean:
rm -fr $(BUILD)
local: clean
mkdir -p $(BUILD)/ || true > /dev/null 2>&1
perl crank --sourcepath=$(SOURCE) --buildpath=$(BUILD) --local
cp -R static/* $(BUILD)/
crank: clean
mkdir -p $(BUILD)/ || true > /dev/null 2>&1
cp -R static/* $(BUILD)/
perl compare > tt/feature-comparison.ttml
perl crank --sourcepath=$(SOURCE) --buildpath=$(BUILD)
find $(BUILD) -name "*~" -exec rm -f {} \; # Remove any backup leftovers
test:
prove t/html.t
# This is only useful for Andy
install: crank
rsync -azu -e ssh --delete --verbose \
$(BUILD)/ [email protected]:/srv/beyondgrep/