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:
parent
ded4eaca0b
commit
66647c0bbb
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -444,7 +444,7 @@ dist:
|
||||||
printf "Press ENTER to continue or ^C to cancel " ; read X) || true
|
printf "Press ENTER to continue or ^C to cancel " ; read X) || true
|
||||||
@#
|
@#
|
||||||
$(MAKE) -f $(MAKEFILE) -j$(nproc) clean
|
$(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) test
|
||||||
$(MAKE) -f $(MAKEFILE) -j$(nproc) dist_zip dist_zip_gf dist_docs
|
$(MAKE) -f $(MAKEFILE) -j$(nproc) dist_zip dist_zip_gf dist_docs
|
||||||
$(MAKE) -f $(MAKEFILE) dist_postflight
|
$(MAKE) -f $(MAKEFILE) dist_postflight
|
||||||
|
|
@ -455,6 +455,9 @@ dist_zip: | venv
|
||||||
dist_zip_gf: | venv
|
dist_zip_gf: | venv
|
||||||
cd "$(FONTDIR)/googlefonts" && zip -q -X -r "$(DIST_ZIP_GF)" *.ttf
|
cd "$(FONTDIR)/googlefonts" && zip -q -X -r "$(DIST_ZIP_GF)" *.ttf
|
||||||
|
|
||||||
|
dist_gf: googlefonts
|
||||||
|
$(MAKE) -f $(MAKEFILE) dist_zip_gf
|
||||||
|
|
||||||
dist_docs:
|
dist_docs:
|
||||||
$(MAKE) -C docs -j$(nproc) dist
|
$(MAKE) -C docs -j$(nproc) dist
|
||||||
|
|
||||||
|
|
@ -474,6 +477,7 @@ dist_postflight:
|
||||||
@echo "——————————————————————————————————————————————————————————————————"
|
@echo "——————————————————————————————————————————————————————————————————"
|
||||||
|
|
||||||
.PHONY: dist dist_preflight dist_step1 dist_step2 dist_zip dist_docs dist_postflight
|
.PHONY: dist dist_preflight dist_step1 dist_step2 dist_zip dist_docs dist_postflight
|
||||||
|
.PHONY: dist_zip_gf dist_gf
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Reference in a new issue