forked from dealii/publication-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
20 lines (18 loc) · 821 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
latex: Makefile
cd offline && pdflatex -interaction=nonstopmode publication_list.tex || true
cd offline && biber publication_list
cd offline && pdflatex -interaction=nonstopmode publication_list.tex || true
cd offline && pdflatex -interaction=nonstopmode publication_list.tex
publications.html: Makefile
rm -rf temp/ publications.html
mkdir temp
cat publications-????.bib >temp/aspect.bib
cp jabref-template/* temp/
docker run --rm -v "$(PWD)/temp:/home/bob/source" tjhei/dealii-java-jabref
sed '/publications.include/q' temp/output.html >publications.html
cat publications.include >>publications.html
sed -n '/publications.include/,$$p' temp/output.html >>publications.html
sed -i '/publications.include/d' publications.html
rm -rf temp/
# for now always force a rebuild:
.PHONY: publications.html latex