grafik: Fix Makefile for generating flat images.

By default the Makefile did remove the .svg files.
This commit is contained in:
Hartmut Goebel 2022-01-18 20:58:06 +01:00
parent 872526210e
commit c258ea4be9
1 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,8 @@ PNG_TARGETS=$(addsuffix .png, ${BASENAMES})
SOURCES = generate-graphics.py replacements.py base.svg.template SOURCES = generate-graphics.py replacements.py base.svg.template
default: all cleansvg cleanpycache default: all cleanpycache
all: svg-path svg pdf png
svg-path: ${SVG_PATH_TARGETS} svg-path: ${SVG_PATH_TARGETS}
svg: ${SVG_TARGETS} svg: ${SVG_TARGETS}
@ -50,8 +51,6 @@ png: ${PNG_TARGETS}
inkscape --export-filename=$@ --export-height=183 $< inkscape --export-filename=$@ --export-height=183 $<
optipng $@ optipng $@
all: svg-path svg pdf png
cleansvgpath: cleansvgpath:
rm -f ${SVG_PATH_TARGETS} rm -f ${SVG_PATH_TARGETS}