blob: 46bf935e542a0e61de0e7495d59e1f2610129b1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
all: install-deps build upload
notes/static:
mkdir -p $@
install-deps:
emacs --batch --load packages.el
build: | notes/static
emacs --batch --load publish.el --funcall org-publish-all
upload:
rsync --rsh="ssh -o StrictHostKeyChecking=no" -av public/ "notes@leika.ymhg.org:/var/www/notes"
clean:
rm -rf notes/static
rm -rf public
.PHONY: all build install-deps upload clean
|