From b4a99a8123e953504160a78466a5cc27c8bb066f Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Wed, 11 Feb 2026 07:35:36 +0300 Subject: add scripts --- makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..8f1fce2 --- /dev/null +++ b/makefile @@ -0,0 +1,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) -- cgit v1.3