summaryrefslogtreecommitdiff
path: root/xmds2
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-01-14 22:02:28 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2012-01-14 22:02:28 -0500
commit0ba4dff219d8535084c97282973a35f7c35ba46b (patch)
tree2c1690ff9e397a24a277597c42f6d04743f38c63 /xmds2
parent9210082c091fcb8dfd41ff7029c2625fc0a18874 (diff)
downloadNresonances-0ba4dff219d8535084c97282973a35f7c35ba46b.tar.gz
Nresonances-0ba4dff219d8535084c97282973a35f7c35ba46b.zip
Targets fixed
Diffstat (limited to 'xmds2')
-rw-r--r--xmds2/Nlevels_with_doppler_with_z_4wm/Makefile.fig16
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