doc/models/Makefile
changeset 9864 fa7017314b75
parent 9754 66ac1ca6913c
child 10115 a969e3b30e9c
--- 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    =