[Libreoffice-commits] .: Makefile

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Wed Feb 8 06:11:29 PST 2012


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

New commits:
commit 463f9ff03424a1de5b3d4616202f315adea7f2cd
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Wed Feb 8 08:10:44 2012 -0600

    support make <module>.all even for gbuild modules

diff --git a/Makefile b/Makefile
index c5c8589..45b7053 100644
--- a/Makefile
+++ b/Makefile
@@ -240,11 +240,15 @@ xsltml\
 zlib\
 
 define gbuild_module_rules
-.PHONY: $(1) $(1).clean $(1).deliver
+.PHONY: $(1) $(1).all $(1).clean $(1).deliver
 
 $(1): bootstrap fetch
 	cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) gb_PARTIALBUILD=T
 
+$(1).all: bootstrap fetch
+	cd $(1) && unset MAKEFLAGS && \
+        $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
+
 $(1).clean:
 	cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) clean gb_PARTIALBUILD=T
 


More information about the Libreoffice-commits mailing list