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

New commits:
commit ae20a668cc3a26da59d1dcd752a9c0be79196599
Author: Matúš Kukan <[email protected]>
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 <[email protected]>
    Tested-by: Peter Foley <[email protected]>

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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to