config: remove diagram builder from common

This has no image targets, so remove to avoid confusion.
This commit is contained in:
Laurens Valk
2020-03-04 11:43:37 +01:00
parent 862f881d33
commit 8861be68eb
-15
View File
@@ -1,15 +0,0 @@
SRC_DIR = .
OUT_DIR = ../images
SVG := $(wildcard $(SRC_DIR)/*.svg)
PNG := $(patsubst $(SRC_DIR)/%.svg,$(OUT_DIR)/%.png,$(SVG))
DIR := ${CURDIR}
all: $(PNG)
clean:
rm -f $(PNG)
$(OUT_DIR)/%.png: $(SRC_DIR)/%.svg
inkscape --file=$(DIR)/$< --export-area-drawing --export-png=$(DIR)/$@