summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-02-11 04:35:36 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-02-11 04:47:51 +0000
commitb4a99a8123e953504160a78466a5cc27c8bb066f (patch)
tree41b6c5a8f36c73adbe2f13016e40fe153be4c252 /makefile
parentadd po4a.cfg (diff)
downloadmichalec-dev-b4a99a8123e953504160a78466a5cc27c8bb066f.tar.gz
add scripts
Diffstat (limited to 'makefile')
-rw-r--r--makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..8f1fce2
--- /dev/null
+++ b/makefile
@@ -0,0 +1,25 @@
1RSYNC_FLAGS += \
2--verbose \
3--compress \
4--recursive \
5--delete-excluded \
6--owner --group \
7--chown=cmmm:www-data
8
9RSYNC_SRCS = ./pub/
10RSYNC_DEST = cmmm@vps:/srv/http/michalec.dev/
11
12.PHONY: all
13all: translate export publish
14
15.PHONY: translate
16translate:
17 po4a --verbose ./etc/po4a.cfg
18
19.PHONY: export
20export:
21 emacs --quick --script ./bin/export.el
22
23.PHONY: publish
24publish:
25 rsync $(RSYNC_FLAGS) $(RSYNC_SRCS) $(RSYNC_DEST)