1
0
Fork 0

[#5] Altered doc Makefile to build wide pngs from dia diagrams

closure/master
Mike Gerwitz 2011-11-27 11:56:19 -05:00
parent 4c4c716596
commit 49dd78f5c2
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ $(path_doc_output):
# doc images # doc images
$(path_doc)/img/%.png: $(path_doc)/img/%.dia $(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 # doc pdf
$(path_doc_output)/%.pdf: $(doc_src) $(doc_imgs) | mkbuild-doc doc-img $(path_doc_output)/%.pdf: $(doc_src) $(doc_imgs) | mkbuild-doc doc-img