Skip to content

Allow for setting a custom build directory #450

Open
@paride

Description

@paride

I'm thinking of introducing a build-time QA test for the Hack Debian package that compares the Debian built TrueType font with the reference fonts released upstream. This would be based on https://github.com/googlei18n/fontdiff. For this reason it would be useful to retain both the original TTF files as built upstream and the TTF files built for the Debian package. At the moment this is a little tricky, as the original fonts are shipped in the build/ directory, and so they are overwritten by the build scripts. I see two possible solutions to this:

  1. Ship the reference files in a different directory, e.g. reference-build/, and add build/ to .gitignore. This will also keep the git tree clean after building the font locally;
  2. Allow the build directory to be chosen at build time. This can easily done by patching the build scripts, with the exception of build-ttf.sh, where the build/ttf/ path is hardcoded in several places. It would be nicer to have a single TTF_BUILD="build/ttf" definition, as in the other build scripts.

Feel free to consider this a wishlist, low-priority issue. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions