1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-20 12:06:17 +03:00

makefile: make sure dist runs googlefonts so that dist_zip_gf succeed

Also adds convenience target dist_gf for making just a gf distribution
This commit is contained in:
Rasmus Andersson 2024-05-24 11:03:04 -07:00
parent ded4eaca0b
commit 66647c0bbb

View File

@ -444,7 +444,7 @@ dist:
printf "Press ENTER to continue or ^C to cancel " ; read X) || true
@#
$(MAKE) -f $(MAKEFILE) -j$(nproc) clean
$(MAKE) -f $(MAKEFILE) -j$(nproc) all
$(MAKE) -f $(MAKEFILE) -j$(nproc) all googlefonts
$(MAKE) -f $(MAKEFILE) -j$(nproc) test
$(MAKE) -f $(MAKEFILE) -j$(nproc) dist_zip dist_zip_gf dist_docs
$(MAKE) -f $(MAKEFILE) dist_postflight
@ -455,6 +455,9 @@ dist_zip: | venv
dist_zip_gf: | venv
cd "$(FONTDIR)/googlefonts" && zip -q -X -r "$(DIST_ZIP_GF)" *.ttf
dist_gf: googlefonts
$(MAKE) -f $(MAKEFILE) dist_zip_gf
dist_docs:
$(MAKE) -C docs -j$(nproc) dist
@ -474,6 +477,7 @@ dist_postflight:
@echo "——————————————————————————————————————————————————————————————————"
.PHONY: dist dist_preflight dist_step1 dist_step2 dist_zip dist_docs dist_postflight
.PHONY: dist_zip_gf dist_gf
# ---------------------------------------------------------------------------------