aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2011-01-21 11:22:38 +0100
committerStefan Kangas <stefankangas@gmail.com>2011-01-21 11:22:38 +0100
commit624305e0a92647262aaaeccba2f57eadf8898a12 (patch)
tree8a9a22cc6a6d92a131d09359db01d4f96e0df9ff
parent473feae00ab01ccab808ef9f83588303e7d83704 (diff)
Makefile fixes: hack to fix \ndash, remove backup files
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ec722c6..26f5bd0 100644
--- a/Makefile
+++ b/Makefile
@@ -6,3 +6,7 @@ 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!&ndash;!' {} \;
+ # Remove Emacs backup files
+ find publish -name "*~" -delete