diff --git a/Makefile b/Makefile index d9c519b7c..1751b8bf7 100644 --- a/Makefile +++ b/Makefile @@ -83,8 +83,6 @@ $(FONTDIR)/const/Inter-UI-Regular.%: src/Inter-UI.designspace $(Regular_ufo_d) $(FONTDIR)/const/Inter-UI-Black.%: src/Inter-UI.designspace $(Black_ufo_d) misc/fontbuild compile -o $@ src/Inter-UI-Black.ufo -Italic_ufo_d := $(wildcard src/Inter-UI-RegularItalic.ufo/*.{fea,plist} src/Inter-UI-RegularItalic.ufo/glyphs/*.{glif,plist}) - $(FONTDIR)/const/Inter-UI-Italic.%: src/Inter-UI.designspace $(Italic_ufo_d) misc/fontbuild compile -o $@ src/Inter-UI-RegularItalic.ufo diff --git a/init.sh b/init.sh index d1726fdf6..3e7c133fb 100755 --- a/init.sh +++ b/init.sh @@ -308,16 +308,16 @@ else master_styles=( \ Regular \ Black \ + Italic \ ) derived_styles=( \ - "Italic : Regular" \ "Medium : Regular Black" \ - "MediumItalic : Regular Black" \ + "MediumItalic : Regular Black Italic" \ "Bold : Regular Black" \ - "BoldItalic : Regular Black" \ + "BoldItalic : Regular Black Italic" \ "ExtraBold : Regular Black" \ - "ExtraBoldItalic : Regular Black" \ - "BlackItalic : Regular Black" \ + "ExtraBoldItalic : Regular Black Italic" \ + "BlackItalic : Regular Black Italic" \ ) web_formats=( woff woff2 ) # Disabled/unused: eot @@ -348,8 +348,12 @@ else # add master styles to style array for style in "${master_styles[@]}"; do all_styles+=( $style ) - echo "${style}_ufo_d := " \ - "\$(wildcard src/Inter-UI-${style}.ufo/* src/Inter-UI-${style}.ufo/*/*)" >> "$GEN_MAKE_FILE" + echo -n "${style}_ufo_d := \$(wildcard" >> "$GEN_MAKE_FILE" + echo -n " src/Inter-UI-${style}.ufo/*.plist" >> "$GEN_MAKE_FILE" + echo -n " src/Inter-UI-${style}.ufo/*.fea" >> "$GEN_MAKE_FILE" + echo -n " src/Inter-UI-${style}.ufo/glyphs/*.plist" >> "$GEN_MAKE_FILE" + echo -n " src/Inter-UI-${style}.ufo/glyphs/*.glif" >> "$GEN_MAKE_FILE" + echo ")" >> "$GEN_MAKE_FILE" done # generate all_ufo: