doc: makefile mac proof with abs path

This commit is contained in:
Anton
2019-02-22 11:51:09 +01:00
parent 579e46806c
commit 3cfc1d97ee
+2 -1
View File
@@ -4,6 +4,7 @@ OUT_DIR = ../images
SVG := $(wildcard $(SRC_DIR)/*.svg)
PNG := $(patsubst $(SRC_DIR)/%.svg,$(OUT_DIR)/%.png,$(SVG))
DIR := ${CURDIR}
all: $(PNG)
@@ -11,4 +12,4 @@ clean:
rm -f $(PNG)
$(OUT_DIR)/%.png: $(SRC_DIR)/%.svg
inkscape --file=$< --export-area-drawing --export-png=$@
inkscape --file=$(DIR)/$< --export-area-drawing --export-png=$(DIR)/$@