From 54bfaf54e7eb1fd074a68127c11f4248748a09c8 Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Sat, 26 Jul 2014 18:22:18 -0700 Subject: Rename bezier curve pieces to .bez to avoid conflict with bzip files. Also made Makefile clean temporary directories. --- third_party/fontcrunch/Makefile | 11 ++++++----- third_party/fontcrunch/fontcrunch.py | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'third_party') diff --git a/third_party/fontcrunch/Makefile b/third_party/fontcrunch/Makefile index a682f73..8c79ce8 100644 --- a/third_party/fontcrunch/Makefile +++ b/third_party/fontcrunch/Makefile @@ -14,18 +14,19 @@ # # Contributor: Raph Levien -SRC = $(wildcard */*.bz) -OPT = $(patsubst %.bz, %.bzopt, $(SRC)) +SRC = $(wildcard */*.bez) +OPT = $(patsubst %.bez, %.bezopt, $(SRC)) dummy: $(OPT) quadopt: quadopt.cc $(CXX) $< -std=c++11 -O3 -o $@ -%.bzopt: %.bz quadopt +%.bezopt: %.bez quadopt ./quadopt $< $@ clean: rm -f quadopt - find . -name '*.bz' -delete - find . -name '*.bzopt' -delete \ No newline at end of file + find . -name '*.bez' -delete + find . -name '*.bezopt' -delete + rmdir ?? \ No newline at end of file diff --git a/third_party/fontcrunch/fontcrunch.py b/third_party/fontcrunch/fontcrunch.py index 68f68e4..eba721a 100644 --- a/third_party/fontcrunch/fontcrunch.py +++ b/third_party/fontcrunch/fontcrunch.py @@ -325,7 +325,7 @@ def seg_fn(segstr): if not os.path.exists(dirname): os.mkdir(dirname) fn = dirname + '/' + fn[2:] - fn += '.bz' + fn += '.bez' return fn def gen_segs(glyph): -- cgit v1.2.3