You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
894 B
28 lines
894 B
|
|
.PHONY: report fast images
|
|
|
|
# We don want to pollute the root dir, so we use a build dir
|
|
# http://tex.stackexchange.com/questions/12686/how-do-i-run-bibtex-after-using-the-output-directory-flag-with-pdflatex-when-f
|
|
report:
|
|
mkdir -p build
|
|
cp references.bib build/
|
|
pdflatex -output-directory=build report.tex
|
|
cd build; bibtex report
|
|
pdflatex -output-directory=build report.tex
|
|
pdflatex -output-directory=build report.tex
|
|
cp build/report.pdf ./
|
|
|
|
fast:
|
|
mkdir -p build
|
|
cp references.bib build/
|
|
pdflatex -output-directory=build report.tex
|
|
cp build/report.pdf ./
|
|
|
|
images:
|
|
mkdir -p build
|
|
pdflatex -output-directory=build images.tex
|
|
pdflatex -output-directory=build images.tex
|
|
scp build/images.pdf moerman@stitch.science.ru.nl:~/wvlt_images.pdf
|
|
ssh moerman@stitch.science.ru.nl 'pdf2svg wvlt_images.pdf wvlt_images.svg'
|
|
scp moerman@stitch.science.ru.nl:~/wvlt_images.svg ./images.svg
|
|
|
|
|