--- a/doc/models/Makefile Fri May 31 12:01:51 2013 -0700
+++ b/doc/models/Makefile Fri May 31 12:03:40 2013 -0700
@@ -295,12 +295,14 @@
IMAGES = $(IMAGES_EPS) $(IMAGES_PNG) $(IMAGES_PDF)
+RESCALE = $(shell hg root)/utils/rescale-pdf.sh
+
%.eps : %.dia; $(DIA) -t eps $< -e $@
%.png : %.dia; $(DIA) -t png $< -e $@
%.png : %.eps; $(CONVERT) $< $@
%.pdf : %.eps
$(EPSTOPDF) $< -o=$@
- if test x$($@_width) != x; then ./rescale-pdf.sh $($@_width) $@ ; fi
+ @if test x$($@_width) != x; then $(RESCALE) $($@_width) $@ ; fi
# You can set these variables from the command line.
SPHINXOPTS =