summaryrefslogblamecommitdiff
path: root/Makefile
blob: 6f62f6084726cd04b1a4a8674bccef1eae5c79a7 (plain) (tree)
1
2
3
4
5
6
7
                          
                                               




                                   





                                         
                                                                                                                                 
 












                                                                           
# Makefile for libreau.org
# This file is released into the public domain.

.PHONY: all publish publish_no_init

all: publish

announce:
	@echo "Announcing on mastodon."
	./announce.sh

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

publish: publish.el
	@echo "Publishing... with current Emacs configurations."
	emacs --batch --load publish.el --funcall org-publish-all

publish_no_init: publish.el
	@echo "Publishing... with --no-init."
	emacs --batch --no-init --load publish.el --funcall org-publish-all

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