mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-06 00:31:10 +01:00
make install: respect OMIT
This commit is contained in:
parent
17e9f696dd
commit
7481d099fe
2
Makefile
2
Makefile
@ -39,7 +39,7 @@ install: libexecs
|
|||||||
mkdir -p $(INSTALLDIR)/include/Poco
|
mkdir -p $(INSTALLDIR)/include/Poco
|
||||||
mkdir -p $(INSTALLDIR)/lib
|
mkdir -p $(INSTALLDIR)/lib
|
||||||
mkdir -p $(INSTALLDIR)/bin
|
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 \
|
if [ -d "$(POCO_BASE)/$$comp/include" ] ; then \
|
||||||
cp -Rf $(POCO_BASE)/$$comp/include/* $(INSTALLDIR)/include/ ; \
|
cp -Rf $(POCO_BASE)/$$comp/include/* $(INSTALLDIR)/include/ ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
|
@ -241,7 +241,7 @@ install: libexecs
|
|||||||
mkdir -p $(INSTALLDIR)/include/Poco
|
mkdir -p $(INSTALLDIR)/include/Poco
|
||||||
mkdir -p $(INSTALLDIR)/lib
|
mkdir -p $(INSTALLDIR)/lib
|
||||||
mkdir -p $(INSTALLDIR)/bin
|
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 \
|
if [ -d "$(POCO_BASE)/$$comp/include" ] ; then \
|
||||||
cp -Rf $(POCO_BASE)/$$comp/include/* $(INSTALLDIR)/include/ ; \
|
cp -Rf $(POCO_BASE)/$$comp/include/* $(INSTALLDIR)/include/ ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user