[#5] Altered doc Makefile to build wide pngs from dia diagrams
parent
4c4c716596
commit
49dd78f5c2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue