25 lines
1.0 KiB
Makefile
25 lines
1.0 KiB
Makefile
|
.PHONY: publish assets
|
||
|
|
||
|
all: publish assets
|
||
|
|
||
|
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
|
||
|
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
|