aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: b29cdf48ca6bae31c8379720cdec8c79a137940e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This file is released into the public domain.

publish: publish.el
	@echo "Publishing..."
	emacs --batch --load publish.el --funcall org-publish-all
	./post-process.sh
	python rss.py

deploy:
	@echo "Deploying to ypei.me..."
	ansible-playbook -i ~/Projects/sysadmin/ansible/inventory.yml -l ypei.me ~/Projects/sysadmin/ansible/deploy-sites.yml

clean:
	@echo "Cleaning up.."
	@rm -rvf *.elc
	@rm -rvf site
	@rm -rvf ~/.org-timestamps/*