.PHONY: all publish push assets clean all: publish assets clean 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 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 clean: @rm -rf output/posts/representation-ma-du-processus-ar2/ltximg push: publish assets clean @rsync --recursive -avz --progress output/* odysseus:/home/www/stephane-adjemian.fr