Makefile.in make the initial invocation of Makefile.build a bit less ugly
Change-Id: Ic25f0e379142ad8e0581598e314b5d314ee5f9e1
This commit is contained in:
parent
db96add468
commit
3047ac5c1f
1 changed files with 5 additions and 5 deletions
10
Makefile.in
10
Makefile.in
|
@ -10,6 +10,10 @@
|
|||
.PHONY : all bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install docs download fetch findunusedcode get-submodules id install install-strip subsequentcheck tags debugrun help slowcheck translations unitcheck packageinfo
|
||||
|
||||
MAKECMDGOALS?=all
|
||||
build_goal:=$(if $(filter build check,$(MAKECMDGOALS)),all)\
|
||||
$(if $(filter build-nocheck,$(MAKECMDGOALS)),build)\
|
||||
$(if $(filter check,$(MAKECMDGOALS)),subsequentcheck)\
|
||||
$(filter all build-l10n-only build-non-l10n-only debugrun help slowcheck translations unitcheck subsequentcheck check packageinfo,$(MAKECMDGOALS))
|
||||
|
||||
SHELL=/usr/bin/env bash
|
||||
SRCDIR := @SRC_ROOT@
|
||||
|
@ -217,11 +221,7 @@ build: bootstrap fetch $(if $(CROSS_COMPILING),cross-toolset)
|
|||
ifneq ($(filter-out WNT MACOSX IOS ANDROID,$(OS)),)
|
||||
mkdir -p $(INSTDIR) && install-gdb-printers -a $(INSTDIR) -c
|
||||
endif
|
||||
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild \
|
||||
$(if $(filter build check,$(MAKECMDGOALS)),all) \
|
||||
$(if $(filter build-nocheck,$(MAKECMDGOALS)),build) \
|
||||
$(if $(filter check,$(MAKECMDGOALS)),subsequentcheck) \
|
||||
$(filter all build-l10n-only build-non-l10n-only debugrun help slowcheck translations unitcheck subsequentcheck check packageinfo,$(MAKECMDGOALS))
|
||||
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(build_goal)
|
||||
ifeq ($(OS),IOS)
|
||||
$(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) ios
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue