Skip to content
Snippets Groups Projects
Commit 218c7058 authored by Goik Martin's avatar Goik Martin
Browse files

Fig format dependency rules

parent ac0fd9a2
No related branches found
No related tags found
No related merge requests found
MYWD = $(shell pwd|sed -e s/\\//\\\\\\//g)
%.pdf:%.tex
cd $(@D)/..; env R=`echo $(@D)|sed -e s/\\\\/Generate//` perl -i -p -e 's/0[ ]([^ \/]+).(eps|png|jpg)/0 ${MYWD}\/$$ENV{'R'}\/$$1.$$2/g' $(*F).fig
cd $(@D)/..; fig2pdf --nogv $(*F).fig; mv $(*F).pdf $(*F).fig.pdf
cd $(@D); fig2mpdf -l -m ../$(*F).fig
cd $(@D)/..;pdflatex Generate/$(*F)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment