svg.mk: Inkscape --export-pdf is not supported anylonger

inkscape --export-pdf is not supported anylonger, replace that with --export-filename.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2023-12-18 13:00:42 +00:00
commit ae1a4dd242
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ clean.images:
$(INKSCAPE_EXPORT_PNG)=$@ copied-$(shell echo $* | sed 's/-[0-9]\+$$//').svg
%.pdf: copied-%.svg
inkscape --export-pdf=$@ $<
inkscape --export-filename="$@" $<
copied-%.svg: $(SVG)
@echo $^

View file

@ -264,10 +264,10 @@ texsrc: $(GENERATED)
$(mangle_tmpl)
$(FRONTLOGO_PDF): $(WWW_IMAGEDIR)/$(patsubst %.pdf,%.svg,$(FRONTLOGO_PDF))
inkscape -w 30mm --export-pdf=$@ $<
inkscape --export-filename="$@" $<
%.pdf: %.svg
inkscape --export-pdf=$@ $<
inkscape --export-filename="$@" $<
$(WWW_IMAGEDIR)/%.svg: %.svg
cp $< $@