Skip to content

Commit 8af7094

Browse files
author
aramwram
authored
Merge pull request #1 from aramwram/issue-2-master
issue-2: Create directory for *.eps files if it does not exist
2 parents 47669e1 + a07adc8 commit 8af7094

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

images/Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ BMP := $(wildcard *.bmp)
66
SVG := $(wildcard *.svg)
77
EPS := $(JPG:.jpg=.eps) $(GIF:.gif=.eps) $(PNG:.png=.eps) $(BMP:.bmp=.eps) $(SVG:.svg=.eps)
88

9-
all: $(EPS) Makefile
9+
all: prepare cp
10+
11+
prepare:
12+
mkdir -p $(TARGET)
13+
14+
cp: $(EPS) Makefile
1015
cp *.eps $(TARGET)
1116

1217
%.eps: %.svg

0 commit comments

Comments
 (0)