[Libreoffice-commits] core.git: Makefile.in

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Wed Nov 20 15:35:35 PST 2013


 Makefile.in |   16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

New commits:
commit 4a016d139e2dadddfb684308d141de53ba1e5c8f
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Thu Nov 21 00:34:20 2013 +0100

    simplify top-level Makefile some more
    
    Change-Id: Ie1d53db34f812a83940196d0bf6e4ad8aaa8eab6

diff --git a/Makefile.in b/Makefile.in
index 9b6d0a9..e6cba7d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -9,9 +9,7 @@
 
 .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
 
-ifeq ($(MAKECMDGOALS),)
-MAKECMDGOALS:=all
-endif
+MAKECMDGOALS?=all
 
 SHELL=/usr/bin/env bash
 SRCDIR := @SRC_ROOT@
@@ -47,19 +45,11 @@ else # MAKE_RESTARTS
 
 all: build
 
-ifeq ($(gb_Side),)
-gb_Side := host
-endif
+gb_Side ?= host
 
 include $(BUILDDIR)/config_$(gb_Side).mk
 
-ifeq ($(GMAKE_OPTIONS),)
-ifeq ($(verbose)$(VERBOSE),)
-export GMAKE_OPTIONS:=-rs$(MAKEFLAGS)
-else
-export GMAKE_OPTIONS:=-r$(MAKEFLAGS)
-endif
-endif
+export GMAKE_OPTIONS?=-r$(if $(verbose)$(VERBOSE),,s)$(MAKEFLAGS)
 
 #
 # Partial Build


More information about the Libreoffice-commits mailing list