Makefile (886B)
1all: publish 2 3publish: publish.el 4 @tidy --tidy-mark no --quiet yes -m index.html 5 @echo "Publishing..." 6 @emacs --batch --load publish.el --funcall org-publish-all 7 @rm .web/keys/67965F307B110019691461A12463834FFD2CBDBB.asc 8 @sed -i 's/dash@ezup.dev/\d\a\s\h\@\e\z\u\p\.\d\e\v/g' .web/index.html 9 @sed -i 's/dashezup@disroot.org/\d\a\s\h\e\z\u\p\@\d\i\s\r\o\o\t\.\o\r\g/g' .web/index.html 10 @sed -i 's/dashezup@protonmail.com/\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 11 @rm -f .web/blog/*~ 12 13clean: 14 @echo "Cleaning up..." 15 @rm -rvf *.elc 16 @rm -rvf .web 17 @rm -rvf ~/.org-timestamps/*