2022-02-21 20:24:55 +01:00
|
|
|
.PHONY: all publish push assets clean
|
2020-08-28 14:05:05 +02:00
|
|
|
|
2022-02-21 20:24:55 +01:00
|
|
|
all: publish assets clean
|
2020-08-28 14:05:05 +02:00
|
|
|
|
|
|
|
publish:
|
|
|
|
@emacs --batch --no-init --load publish.el --funcall org-publish-all
|
|
|
|
sed -i '/<title>‎<\/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
|
2020-08-28 23:05:10 +02:00
|
|
|
@rsync assets/favicon.ico output
|
2020-08-28 15:12:30 +02:00
|
|
|
|
2022-02-21 20:24:55 +01:00
|
|
|
clean:
|
|
|
|
@rm -rf output/posts/representation-ma-du-processus-ar2/ltximg
|
|
|
|
|
|
|
|
push: publish assets clean
|
2020-08-28 15:12:30 +02:00
|
|
|
@rsync --recursive -avz --progress output/* odysseus:/home/www/stephane-adjemian.fr
|