aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 26f5bd051c086249af34771bded04e6bed456f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
EMACS=emacs -q --no-site-file

all:	fripost-web

fripost-web:
	$(EMACS) -batch -L . \
		-l "fripost-web.el" \
		-eval "(org-publish-project \"fripost-web\")"
	# UGLY HACK
	find publish -iname "*.html" -exec perl -pi -e 's!\\ndash!–!' {} \;
	# Remove Emacs backup files
	find publish -name "*~" -delete