[Libreoffice-commits] core.git: Makefile.in
Michael Stahl
mstahl at redhat.com
Mon Nov 24 06:25:50 PST 2014
Makefile.in | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit fea3ca373873b1b6e5d319a8452491d2b38dbdaa
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Nov 24 15:17:26 2014 +0100
Makefile: provide a hint when "make iwyudummy" fails
Change-Id: I5d37478e1dfdd9bf96ceb302fe51fc5c2b4ed838
diff --git a/Makefile.in b/Makefile.in
index 6c2957f..fa3ffd3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -62,7 +62,10 @@ PARALLELISM_OPTION := $(if $(filter-out 0,$(PARALLELISM)),-j $(PARALLELISM),)
IWYU_OPTION := $(if $(IWYU_PATH),-k CC=$(IWYU_PATH) CXX=$(IWYU_PATH),)
+# don't want to have a dependency to iwyudummy.generate because it's
+# useful to manually edit the generated StaticLibrary_iwyudummy.mk
iwyudummy: bootstrap fetch
+ $(if $(wildcard $(BUILDDIR)/iwyudummy),,$(error first call "make iwyudummy.generate"))
cd $(BUILDDIR)/iwyudummy && $(MAKE) $(IWYU_OPTION) $(GMAKE_OPTIONS)
iwyudummy.generate:
More information about the Libreoffice-commits
mailing list