aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 71e5ea750cc3db7a7d85ede169e3324d8d99bc8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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

run-devserver:
	@echo "Running devserver with python webserver..."
	python -m http.server --directory ./site 8000

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