From b03ded9d3fb5404aac2d502734d6c129624c465d Mon Sep 17 00:00:00 2001 From: Andrey Mayorov Date: Thu, 18 Feb 2016 15:44:03 +0300 Subject: [PATCH] Allow to customize search directory --- wsd.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wsd.mk b/wsd.mk index a3edbf0..b412b0a 100644 --- a/wsd.mk +++ b/wsd.mk @@ -1,5 +1,6 @@ FORMAT ?= svg -SOURCES = $(shell find $(CURDIR) -type f -name '*.wsd') +SOURCEDIR ?= $(CURDIR) +SOURCES = $(shell find $(SOURCEDIR) -type f -name '*.wsd') TARGETS = $(foreach fmt, $(FORMAT), $(patsubst %.wsd,%.$(fmt),$(SOURCES))) STYLE ?= style.isvg