From 6fdebea3333eb591fff6213ae051ed0ba7256e1c Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Sun, 7 Jul 2013 14:17:28 -0700 Subject: [PATCH] fix manual Makefile --- doc/manual/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/manual/Makefile b/doc/manual/Makefile index d57173041..fe6a22048 100644 --- a/doc/manual/Makefile +++ b/doc/manual/Makefile @@ -66,12 +66,14 @@ IMAGES_PDF = ${IMAGES_EPS:.eps=.pdf} 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.