fix manual Makefile
authorTom Henderson <tomh@tomh.org>
Sun, 07 Jul 2013 14:17:28 -0700
changeset 9908 ea466d4e83fd
parent 9907 33df03225d5d
child 9909 e8571e4f5394
fix manual Makefile
doc/manual/Makefile
--- a/doc/manual/Makefile	Sun Jul 07 13:17:12 2013 +0200
+++ b/doc/manual/Makefile	Sun Jul 07 14:17:28 2013 -0700
@@ -66,12 +66,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.