Skip to content

Commit

Permalink
makefile: make sure dist runs googlefonts so that dist_zip_gf succeed
Browse files Browse the repository at this point in the history
Also adds convenience target dist_gf for making just a gf distribution
  • Loading branch information
rsms committed May 24, 2024
1 parent ded4eac commit 66647c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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


# ---------------------------------------------------------------------------------
Expand Down

0 comments on commit 66647c0

Please sign in to comment.