summaryrefslogtreecommitdiff
path: root/makefile
blob: 8f1fce2df294ab9d6f5afe3f81c3eba70653a7ac (plain)
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
RSYNC_FLAGS +=		\
--verbose		\
--compress		\
--recursive		\
--delete-excluded	\
--owner --group         \
--chown=cmmm:www-data

RSYNC_SRCS = ./pub/
RSYNC_DEST = cmmm@vps:/srv/http/michalec.dev/

.PHONY: all
all: translate export publish

.PHONY: translate
translate:
	po4a --verbose ./etc/po4a.cfg

.PHONY: export
export:
	emacs --quick --script ./bin/export.el

.PHONY: publish
publish:
	rsync $(RSYNC_FLAGS) $(RSYNC_SRCS) $(RSYNC_DEST)