summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-20 09:47:17 +0200
committerMichael Stahl <mstahl@redhat.com>2014-11-24 14:12:51 +0000
commit460debad7968961084546e02eb2ac0750a63a7f4 (patch)
treebe794fb18dd87c53be69c1e4ef7127212e83b97f /Makefile.in
parent6796db4cc6c1b8d32a655de5343b9883b07d0aa8 (diff)
improvements to iwyudummy target
- split awk script into separate file - make awk work on older awk version - create new target in main Makefile.in to generate iwyudummy Makefile so we don't have to manually uncomment stuff - exclude /usr includes from the generated makefile - disable unused macros warnings to reduce noise - add some sanity checking - prevent using the generated makefile with compiler-plugins enabled - add new target for generating iwyu Makefile so we don't need to edit the Makefile when using it Change-Id: I4af8eb7d1aa5419e546acb9ef905a0fe623db57d Reviewed-on: https://gerrit.libreoffice.org/12980 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 2f8de5d44e1f..6c2957f68ccf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -63,9 +63,11 @@ PARALLELISM_OPTION := $(if $(filter-out 0,$(PARALLELISM)),-j $(PARALLELISM),)
IWYU_OPTION := $(if $(IWYU_PATH),-k CC=$(IWYU_PATH) CXX=$(IWYU_PATH),)
iwyudummy: bootstrap fetch
- # $(SRCDIR)/bin/gen-iwyu-dummy-lib
cd $(BUILDDIR)/iwyudummy && $(MAKE) $(IWYU_OPTION) $(GMAKE_OPTIONS)
+iwyudummy.generate:
+ $(SRCDIR)/bin/gen-iwyu-dummy-lib
+
#
# Partial Build
#