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

Makefile being required for image format generation

parent 061537ac
No related branches found
No related tags found
No related merge requests found
#This Makefile has to be executed in a subdirectory
# "Generate": make -f ../Makefile all
#
FIGFILES=mavenIntro transitiveDep persistProvider classUser mapUser mapUserIntegrity \
billing billingData billingMapJoined billingSql figureInherit
%-0.pdf:../%.fig
../../../../bin/fig2mpdf -l -m $< #&& touch $*.done
if [ -e $*.tex ]; then pdflatex $* && rm -f ../$*.pdf && mv $*.pdf ..; fi;
../%.fig.pdf:../%.fig
fig2dev -L pstex $< | epstopdf -f > $<.pdf
pdf:$(foreach figfile, $(FIGFILES), $(figfile)-0.pdf) $(foreach figfile, $(FIGFILES), ../$(figfile).fig.pdf)
all:
mkdir -p Generate;cd Generate;export PATH=../../../../bin:${PATH}; $(MAKE) -f ../Makefile pdf # PATH contains additional tools
clean:
rm -rf Generate $(foreach figfile, $(FIGFILES), $(figfile).pdf) $(foreach figfile, $(FIGFILES), $(figfile).fig.pdf)
#end
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