diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-14 22:02:28 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-14 22:02:28 -0500 |
commit | 0ba4dff219d8535084c97282973a35f7c35ba46b (patch) | |
tree | 2c1690ff9e397a24a277597c42f6d04743f38c63 | |
parent | 9210082c091fcb8dfd41ff7029c2625fc0a18874 (diff) | |
download | Nresonances-0ba4dff219d8535084c97282973a35f7c35ba46b.tar.gz Nresonances-0ba4dff219d8535084c97282973a35f7c35ba46b.zip |
Targets fixed
-rw-r--r-- | xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig b/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig index d1d8ad1..71fba31 100644 --- a/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig +++ b/xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig @@ -7,19 +7,22 @@ SCRIPTS_DIR = . eps_targets = $(wildcard *.eps) +eps_bb_targets = $(eps_targets:%.eps=%.bb) pdf_targets = $(eps_targets:%.eps=%.pdf) png_targets = $(pdf_targets:%.pdf=%.png) -fig: pdf +fig: png pdf: $(pdf_targets) -$(pdf_targets): %.pdf : %.eps - @cat $< | ps2eps -q -B > __tt.eps - epspdf __tt.eps $@ - @rm -f __tt.eps +# fix bounding box +$(eps_bb_targets): %.bb : %.eps + @cat $< | ps2eps -q -B > $@ -png: pdf $(png_targets) +$(pdf_targets): %.pdf : %.bb + epspdf $< $@ + +png: $(png_targets) $(png_targets): %.png : %.pdf convert -density 300 $< $@ @@ -27,6 +30,7 @@ $(png_targets): %.png : %.pdf clean: rm -f *.pdf rm -f *.eps + rm -f *.bb real_clean: clean rm -f *.png |