diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,12 +1,19 @@ all: install-deps build upload +notes/static: + mkdir -p $@ + install-deps: emacs --batch --load packages.el -build: +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" -.PHONY: all build install-deps upload +clean: + rm -rf notes/static + rm -rf public + +.PHONY: all build install-deps upload clean |