File tree 1 file changed +17
-14
lines changed
1 file changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ endef
37
37
38
38
export SOURCE_DATE_EPOCH ?= $(shell stat -c "% Y" ${GLYPHSFILE})
39
39
40
- TAG = $(shell git describe --tags --abbrev=0)
41
- VERSION=$( TAG:v% =%)
40
+ TAG = $(shell git describe --tags --abbrev=0)
41
+ VERSION = ${ TAG:v%=%}
42
42
DIST = ${NAME}-${VERSION}
43
43
44
44
45
45
.SECONDARY :
46
46
.ONESHELL :
47
- .PHONY : all dist ttf test doc ${HTML}
47
+ .PHONY : all clean dist ttf test doc ${HTML}
48
48
49
49
all : ttf doc
50
50
ttf : ${FONT}
@@ -53,26 +53,29 @@ expectation: ${JSON}
53
53
doc : ${SVG}
54
54
55
55
${FONT} : ${GLYPHSFILE}
56
- $(info BUILD $(@F ) )
57
- ${PYTHON} -m fontmake $< --output-path=$@ \
58
- -o variable \
59
- --verbose=WARNING \
60
- --master-dir=" {tmp}" \
61
- --flatten-components \
62
- --filter DecomposeTransformedComponentsFilter \
63
- --filter " alifTools.filters::FontVersionFilter(fontVersion=${VERSION} )"
56
+ $(info BUILD ${@F})
57
+ ${PYTHON} -m fontmake $< \
58
+ --output-path=$@ \
59
+ -o variable \
60
+ --verbose=WARNING \
61
+ --master-dir=" {tmp}" \
62
+ --flatten-components \
63
+ --filter DecomposeTransformedComponentsFilter \
64
+ --filter " alifTools.filters::FontVersionFilter(fontVersion=${VERSION} )"
64
65
65
66
${TESTDIR}/% .json : ${TESTDIR}/% .yaml ${FONT}
66
- $(info GEN $( @F ) )
67
+ $(info GEN ${@F} )
67
68
${PYTHON} -m alifTools.shaping.update $< $@ ${FONT}
68
69
69
70
${TESTDIR}/shaping.html : ${FONT} ${TESTDIR}/shaping-config.yml
70
71
$(info SHAPE $(<F ) )
71
72
${PYTHON} -m alifTools.shaping.check $< ${TESTDIR} /shaping-config.yml $@
72
73
73
74
${SVG} : ${FONT}
74
- $(info SVG $(@F ) )
75
- ${PYTHON} -m alifTools.sample -t " ${SAMPLE} " -o $@ $<
75
+ $(info SVG ${@F})
76
+ ${PYTHON} -m alifTools.sample $< \
77
+ -t " ${SAMPLE} " \
78
+ -o $@
76
79
77
80
dist : ${FONT} ${SVG}
78
81
$(info DIST ${DIST}.zip)
You can’t perform that action at this time.
0 commit comments