diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-13 10:05:38 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-16 12:16:34 -0700 |
commit | 051886031e590616020c26dfdacc8da941b2a232 (patch) | |
tree | 9b5c5031e0e1bf503eaa7a606575fca6154d244f | |
parent | a813bb565f4d2d7e15e53242b339d99b08256952 (diff) |
Remove old build targets and update build scripts.
-rw-r--r-- | Makefile | 20 | ||||
-rwxr-xr-x | build.bat | 12 |
2 files changed, 6 insertions, 26 deletions
@@ -1,31 +1,11 @@ all: v2 -sans: - echo "BASEDIR=\"$(CURDIR)\"" > /tmp/makefonts.flw - cat "scripts/build.py" >> /tmp/makefonts.flw - open -nWa "$(FONTLAB)" /tmp/makefonts.flw - v2: echo "BASEDIR=\"$(CURDIR)\"" > /tmp/makefontsB.py cat "scripts/build-v2.py" >> /tmp/makefontsB.py python /tmp/makefontsB.py -slab: - echo "BASEDIR=\"$(CURDIR)\"" > /tmp/makefonts.flw - cat "scripts/build-slab.py" >> /tmp/makefonts.flw - open -nWa "$(FONTLAB)" /tmp/makefonts.flw - -slabitalic: - echo "BASEDIR=\"$(CURDIR)\"" > /tmp/makefonts.flw - cat "scripts/build-slabitalic.py" >> /tmp/makefonts.flw - open -nWa "$(FONTLAB)" /tmp/makefonts.flw - -mono: - echo "BASEDIR=\"$(CURDIR)\"" > /tmp/makefonts.flw - cat "scripts/build-monoV2.py" >> /tmp/makefonts.flw - open -nWa "$(FONTLAB)" /tmp/makefonts.flw - crunch: mkdir -p out/crunched cd third_party/fontcrunch && \ @@ -1,8 +1,8 @@ -# Modify this to point to local Fontlab executable
-set FONTLAB="C:\Program Files (x86)\Fontlab\Studio 5\Studio 5.exe"
+# Modify this to point to local Python executable
+set PYTHONEXE="C:\Python27\Python.exe"
-echo BASEDIR=r"%cd%" > tmp-makefontsB.flw
-type scripts\build-v2.py >> tmp-makefontsB.flw
+echo BASEDIR=r"%cd%" > tmp-makefontsB.py
+type scripts\build-v2.py >> tmp-makefontsB.py
set PYTHONPATH=%cd%\scripts\lib
-%FONTLAB% tmp-makefontsB.flw -del tmp-makefontsB.flw
+%PYTHONEXE% tmp-makefontsB.py +del tmp-makefontsB.py
|