Skip to content

Commit

Permalink
This script can go now
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Sep 30, 2024
1 parent dcf7073 commit 99b5788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 47 deletions.
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ PYTHON := venv/bin/python3

SOURCEDIR = sources
FONTDIR = fonts
SCRIPTDIR = scripts
TESTDIR = tests
BUILDDIR = build

FONT = ${FONTDIR}/${NAME}.ttf
DFONT = ${BUILDDIR}/${NAME}.ttf
JSON = ${TESTDIR}/shaping.json
HTML = ${TESTDIR}/shaping.html
SVG = FontSample.svg
Expand Down Expand Up @@ -64,11 +62,6 @@ ${FONT}: ${GLYPHSFILE}
--filter DecomposeTransformedComponentsFilter \
--filter "alifTools.filters::FontVersionFilter(fontVersion=${VERSION})"

${DFONT}: ${FONT}
$(info   DIST $(@F))
mkdir -p ${BUILDDIR}
${PYTHON} ${SCRIPTDIR}/dist.py $< $@

${TESTDIR}/%.json: ${TESTDIR}/%.yaml ${FONT}
$(info   GEN $(@F))
${PYTHON} -m alifTools.shaping.update $< $@ ${FONT}
Expand All @@ -81,9 +74,9 @@ ${SVG}: ${FONT}
$(info   SVG $(@F))
${PYTHON} -m alifTools.sample -t "${SAMPLE}" -o $@ $<

dist: ${DFONT} ${SVG}
dist: ${FONT} ${SVG}
$(info   DIST ${DIST}.zip)
install -Dm644 -t ${DIST} ${DFONT}
install -Dm644 -t ${DIST} ${FONT}
install -Dm644 -t ${DIST} README.md
install -Dm644 -t ${DIST} OFL.txt
zip -rq ${DIST}.zip ${DIST}
Expand Down
38 changes: 0 additions & 38 deletions scripts/dist.py

This file was deleted.

0 comments on commit 99b5788

Please sign in to comment.