Batch export BPMN to SVG

Hello,
I’m writing a paper with some examples drawn in Camunda Modeller and I’m too lazy to export all diagrams to SVG in the modeller. I have a Makefile which converts SVG files to cropped PDFs so I can include them in the paper (I’m using LaTeX). So I would like to add another rule to convert BPMN files to SVG files automatically too.

For example Dia has an option to export files without any GUI, so I can write a rule like this:

%.dia.pdf: %.dia
        dia -e $@ -t pdf $<

And Make will run Dia on all required *.dia files to get their *.dia.pdf exports.

How can I do the same with Camunda Modeller?