ADD: support .drawio.svg images

This commit is contained in:
Dominik Meyer 2021-12-08 12:27:49 +01:00
parent 110f4474e7
commit 837b70cca8
No known key found for this signature in database
GPG Key ID: B4C312B600606B64

View File

@ -46,6 +46,11 @@ endif
@dot -Tpdf $< -o $@ @dot -Tpdf $< -o $@
@touch $@.dep @touch $@.dep
%.svg: %.drawio.svg
@echo "**** Renaming drawio file $< *****"
@cp $< $@
@touch $@.dep
%.pdf: %.svg %.pdf: %.svg
@echo "**** Generating $@ from svg file $< ****" @echo "**** Generating $@ from svg file $< ****"
@if [ $(INKSCAPE_EXIST) != "0" ]; then echo "The inkscape tool required for converting svg --> pdf is missing. Please install it"; exit -1; fi @if [ $(INKSCAPE_EXIST) != "0" ]; then echo "The inkscape tool required for converting svg --> pdf is missing. Please install it"; exit -1; fi