From 49dd78f5c2de05eea17dff53164f6a6adf1e0fa3 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sun, 27 Nov 2011 11:56:19 -0500 Subject: [PATCH] [#5] Altered doc Makefile to build wide pngs from dia diagrams --- doc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index 56d5179..8342fe2 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -40,7 +40,9 @@ $(path_doc_output): # doc images $(path_doc)/img/%.png: $(path_doc)/img/%.dia - dia -e $@ -s 300x $< + echo "$<" | grep -q 'wide' \ + && dia -e $@ -s x300 $< \ + || dia -e $@ -s 300x $< # doc pdf $(path_doc_output)/%.pdf: $(doc_src) $(doc_imgs) | mkbuild-doc doc-img