.PHONY: publish assets all: publish assets publish: @emacs --batch --no-init --load publish.el --funcall org-publish-all sed -i '/‎<\/title>/d' ./output/index.html sed -i '/<title>‎<\/title>/d' ./output/research/index.html sed -i '/<title>‎<\/title>/d' ./output/posts/index.html sed -i '/<title>‎<\/title>/d' ./output/teaching/index.html sed -i '/<title>‎<\/title>/d' ./output/teaching/economic-calculus/index.html sed -i '/<title>‎<\/title>/d' ./output/teaching/growth/index.html sed -i '/<title>‎<\/title>/d' ./output/teaching/time-series/index.html sed -i '/<title>‎<\/title>/d' ./output/teaching/macro-dynamique/index.html assets: @rsync --recursive -avz assets/fonts output @rsync --recursive -avz assets/fontawesome output @rsync --recursive -avz assets/css output @rsync --recursive -avz assets/dynare output @rsync --recursive -avz assets/papers output @rsync --recursive -avz assets/thesis output @rsync --recursive -avz assets/oldies output @rsync assets/stepan.gpg-pub.asc output @rsync assets/favicon.ico output push: publish assets @rsync --recursive -avz --progress output/* odysseus:/home/www/stephane-adjemian.fr