Allow to customize search directory

This commit is contained in:
Andrey Mayorov 2016-02-18 15:44:03 +03:00
parent a57fb6a1f7
commit b03ded9d3f

3
wsd.mk
View File

@ -1,5 +1,6 @@
FORMAT ?= svg 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))) TARGETS = $(foreach fmt, $(FORMAT), $(patsubst %.wsd,%.$(fmt),$(SOURCES)))
STYLE ?= style.isvg STYLE ?= style.isvg