-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
17 lines (15 loc) · 886 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all: publish
publish: publish.el
@tidy --tidy-mark no --quiet yes -m index.html
@echo "Publishing..."
@emacs --batch --load publish.el --funcall org-publish-all
@rm .web/keys/67965F307B110019691461A12463834FFD2CBDBB.asc
@sed -i 's/[email protected]/\d\a\s\h\@\e\z\u\p\.\d\e\v/g' .web/index.html
@sed -i 's/[email protected]/\d\a\s\h\e\z\u\p\@\d\i\s\r\o\o\t\.\o\r\g/g' .web/index.html
@sed -i 's/[email protected]/\d\a\s\h\e\z\u\p\@\p\r\o\t\o\n\m\a\i\l\.\c\o\m/g' .web/index.html
@rm -f .web/blog/*~
clean:
@echo "Cleaning up..."
@rm -rvf *.elc
@rm -rvf .web
@rm -rvf ~/.org-timestamps/*