From 3cfc1d97ee907cb4216ae339054c279fbdc9b893 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 22 Feb 2019 11:51:09 +0100 Subject: [PATCH] doc: makefile mac proof with abs path --- source/_images/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_images/Makefile b/source/_images/Makefile index 14592a0..cf15c72 100755 --- a/source/_images/Makefile +++ b/source/_images/Makefile @@ -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)/$@