Skip to content

Commit 091f600

Browse files
committed
Minor
1 parent 99b5788 commit 091f600

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

Makefile

+17-14
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ endef
3737

3838
export SOURCE_DATE_EPOCH ?= $(shell stat -c "%Y" ${GLYPHSFILE})
3939

40-
TAG=$(shell git describe --tags --abbrev=0)
41-
VERSION=$(TAG:v%=%)
40+
TAG = $(shell git describe --tags --abbrev=0)
41+
VERSION = ${TAG:v%=%}
4242
DIST = ${NAME}-${VERSION}
4343

4444

4545
.SECONDARY:
4646
.ONESHELL:
47-
.PHONY: all dist ttf test doc ${HTML}
47+
.PHONY: all clean dist ttf test doc ${HTML}
4848

4949
all: ttf doc
5050
ttf: ${FONT}
@@ -53,26 +53,29 @@ expectation: ${JSON}
5353
doc: ${SVG}
5454

5555
${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})"
6465

6566
${TESTDIR}/%.json: ${TESTDIR}/%.yaml ${FONT}
66-
$(info   GEN $(@F))
67+
$(info   GEN ${@F})
6768
${PYTHON} -m alifTools.shaping.update $< $@ ${FONT}
6869

6970
${TESTDIR}/shaping.html: ${FONT} ${TESTDIR}/shaping-config.yml
7071
$(info   SHAPE $(<F))
7172
${PYTHON} -m alifTools.shaping.check $< ${TESTDIR}/shaping-config.yml $@
7273

7374
${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 $@
7679

7780
dist: ${FONT} ${SVG}
7881
$(info   DIST ${DIST}.zip)

0 commit comments

Comments
 (0)