From 7481d099fec5ab8a43e0574a9261412c90c45b69 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Tue, 6 Oct 2015 15:37:12 +0200 Subject: [PATCH] make install: respect OMIT --- Makefile | 2 +- release/script/mkrelease | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 49318a3e1..bea47a2df 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ install: libexecs mkdir -p $(INSTALLDIR)/include/Poco mkdir -p $(INSTALLDIR)/lib mkdir -p $(INSTALLDIR)/bin - for comp in $(COMPONENTS) ; do \ + for comp in $(filter-out $(foreach f,$(OMIT),$f%),$(COMPONENTS)) ; do \ if [ -d "$(POCO_BASE)/$$comp/include" ] ; then \ cp -Rf $(POCO_BASE)/$$comp/include/* $(INSTALLDIR)/include/ ; \ fi ; \ diff --git a/release/script/mkrelease b/release/script/mkrelease index 2815c2cd4..f1bab517d 100755 --- a/release/script/mkrelease +++ b/release/script/mkrelease @@ -241,7 +241,7 @@ install: libexecs mkdir -p $(INSTALLDIR)/include/Poco mkdir -p $(INSTALLDIR)/lib mkdir -p $(INSTALLDIR)/bin - for comp in $(COMPONENTS) ; do \ + for comp in $(filter-out $(foreach f,$(OMIT),$f%),$(COMPONENTS)) ; do \ if [ -d "$(POCO_BASE)/$$comp/include" ] ; then \ cp -Rf $(POCO_BASE)/$$comp/include/* $(INSTALLDIR)/include/ ; \ fi ; \