feat: support excalidraw files

This commit is contained in:
Dominik Meyer 2024-08-08 23:04:38 +02:00
parent 36a5c4706f
commit 0b1141ffa3
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -57,6 +57,11 @@ endif
@cp $< $@ @cp $< $@
@touch $@.dep @touch $@.dep
%.svg: %.excalidraw.svg
@echo "**** Renaming excalidraw 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