patch-Makefile 660 B

12345678910111213141516171819
  1. $OpenBSD: patch-Makefile,v 1.2 2017/04/15 14:51:08 jasper Exp $
  2. Don't build webfonts which require two additional (unported) dependencies.
  3. --- Makefile.orig Sat Apr 15 16:50:11 2017
  4. +++ Makefile Sat Apr 15 16:50:43 2017
  5. @@ -20,11 +20,6 @@ OTF/%.otf %.ttf Webfonts/%.svg Webfonts/%.eot Webfonts
  6. # TODO determine perfect parameters
  7. ttfautohint "$*.ttf" "$*.hinted.ttf"
  8. mv "$*.hinted.ttf" "$*.ttf"
  9. - sfnt2woff "OTF/$*.otf"
  10. - mv "OTF/$*.woff" Webfonts
  11. - woff2_compress "$*.ttf"
  12. - mv "$*.woff2" Webfonts
  13. - ttf2eot "$*.ttf" > "Webfonts/$*.eot"
  14. $(CSS_FILE): $(CSS_FRAGMENTS)
  15. cat $(foreach v,$(CSS_FRAGMENTS),$(if $(findstring Mono,$v),$v)) > $(CSS_FILE)