summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-08 22:08:33 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-10 18:24:32 -0600
commit3047ac5c1f9966592ea1f73be919e47c7fd0db64 (patch)
tree738230fd5a7b18e3c3d67534a6584e621e5b530d /Makefile.in
parentdb96add4686875efce6a6e6bc6a860b249b0c210 (diff)
Makefile.in make the initial invocation of Makefile.build a bit less ugly
Change-Id: Ic25f0e379142ad8e0581598e314b5d314ee5f9e1
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index f7c06c3dcb2c..29d76e190973 100644
--- a/Makefile.in
+++ b/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