[Libreoffice-commits] .: Makefile.in

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 24 14:50:05 PST 2012


 Makefile.in |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit ae20a668cc3a26da59d1dcd752a9c0be79196599
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sun Dec 23 20:36:29 2012 +0100

    Do not run autogen.sh if we don't want to. (for help, clean, distclean)
    
    Change-Id: Ic283ca4181fe5131a557bfb2cfd3d79ac1e9f82d
    Reviewed-on: https://gerrit.libreoffice.org/1479
    Reviewed-by: Peter Foley <pefoley2 at verizon.net>
    Tested-by: Peter Foley <pefoley2 at verizon.net>

diff --git a/Makefile.in b/Makefile.in
index b80ad4a..8c5f060 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -17,7 +17,11 @@ SHELL=/usr/bin/env bash
 SRCDIR := @SRC_ROOT@
 BUILDDIR := @BUILDDIR@
 
-ifeq (,$(MAKE_RESTARTS))
+# Next 'if' means:
+# If you want to make something more than help clean distclean,
+# and make has not yet restarted itself..
+# ..run autogen.sh if needed and force make to restart itself.
+ifeq (,$(MAKE_RESTARTS)$(if $(filter help clean distclean,$(MAKECMDGOALS)),T))
 
 .PHONY : force-restart
 Makefile: $(BUILDDIR)/config_host.mk force-restart


More information about the Libreoffice-commits mailing list