-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
27 lines (19 loc) · 978 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
RSYNC_EXCLUDES=--exclude="www/favicon.ico" --exclude=".htaccess" --exclude="www/file" --exclude="www/_media" --exclude="*.out" --exclude="*.svn" --exclude="*.neko" --exclude="*.php"
all: compile
prepare: templates compile
templates:
(cd tpl/en && temploc2 -output ../tmp/ -macros macros.mtt *.mtt)
(cd tpl/en && temploc2 -php -output ../tmp/ -macros macros.mtt *.mtt)
compile:
haxe project.hxml
deploy_haxe: prepare
rsync -avz --delete $(RSYNC_EXCLUDES) tpl www [email protected]:/data/haxe
deploy_nc: prepare
rsync -avz --delete $(RSYNC_EXCLUDES) tpl www [email protected]:ncannasse_fr
ssh [email protected] deploy
deploy_shiro: prepare
rsync -avz --chmod=ug=rwX,o= --delete $(RSYNC_EXCLUDES) --exclude="www/js" tpl www [email protected]:/data/shirogames
rsync -avz --chmod=ug=rwX,o= --delete $(RSYNC_EXCLUDES) tpl www [email protected]:/data/bible
api:
haxe project.hxml
neko apisync.n