diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-12-27 21:49:22 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-12-27 21:49:34 +0100 |
commit | 836803916d259486f2c4edfcad0de49c8d8d377e (patch) | |
tree | 291735154968f8efb0692e38e021c6a1f8039bc1 /Makefile | |
parent | f96504ee43cd8795d8f54c154d382407e7a3130c (diff) | |
download | yannherklotz.com-836803916d259486f2c4edfcad0de49c8d8d377e.tar.gz yannherklotz.com-836803916d259486f2c4edfcad0de49c8d8d377e.zip |
Add a makefile to generate the bibtex
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e49acdf --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +all: layouts/partials/papers.html layouts/partials/papers_other.html + +layouts/partials/%.html: %.bib + bibtex2html -o $(subst .html,,$@) -use-keys -dl -linebreak \ + -noabstract -nokeywords -nobibsource -nofooter -nodoc \ + --named-field url_video video --named-field url_tex tex \ + --named-field url_slides slides --named-field url_press press \ + --named-field url_poster poster --named-field url_manuscript \ + pdf --named-field url_blog_post blog --named-field \ + url_artifact artifact $< + sed -r -e 's:\[(.*)\]:<b>\1</b>:g' $@ >$@.new && mv $@.new $@ + sed -r -e 's:Yann Herklotz:<b>Yann Herklotz</b>:g' $@ >$@.new && mv $@.new $@ |