mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-25 06:36:37 +01:00
fixed Make install target
This commit is contained in:
2
Makefile
2
Makefile
@@ -20,6 +20,8 @@ ifndef POCO_BUILD
|
|||||||
export POCO_BUILD=$(POCO_BASE)
|
export POCO_BUILD=$(POCO_BASE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
LIBPREFIX ?= lib
|
||||||
|
|
||||||
.PHONY: poco all libexecs cppunit tests samples cleans clean distclean install
|
.PHONY: poco all libexecs cppunit tests samples cleans clean distclean install
|
||||||
|
|
||||||
# TESTS and SAMPLES are set in config.make
|
# TESTS and SAMPLES are set in config.make
|
||||||
|
|||||||
@@ -218,6 +218,8 @@ ifndef POCO_BUILD
|
|||||||
export POCO_BUILD=$(POCO_BASE)
|
export POCO_BUILD=$(POCO_BASE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
LIBPREFIX ?= lib
|
||||||
|
|
||||||
.PHONY: poco all libexecs cppunit tests samples cleans clean distclean install
|
.PHONY: poco all libexecs cppunit tests samples cleans clean distclean install
|
||||||
|
|
||||||
# TESTS and SAMPLES are set in config.make
|
# TESTS and SAMPLES are set in config.make
|
||||||
@@ -249,8 +251,8 @@ install: libexecs
|
|||||||
find $(POCO_BUILD)/$$comp/bin -perm -700 -type f -exec cp -f {} $(INSTALLDIR)/bin \; ; \
|
find $(POCO_BUILD)/$$comp/bin -perm -700 -type f -exec cp -f {} $(INSTALLDIR)/bin \; ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
done
|
done
|
||||||
find $(POCO_BUILD)/lib -name "libPoco*" -type f -exec cp -f {} $(INSTALLDIR)/lib \;
|
find $(POCO_BUILD)/lib -name "$(LIBPREFIX)Poco*" -type f -exec cp -f {} $(INSTALLDIR)/lib \;
|
||||||
find $(POCO_BUILD)/lib -name "libPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/lib \;
|
find $(POCO_BUILD)/lib -name "$(LIBPREFIX)Poco*" -type l -exec cp -Rf {} $(INSTALLDIR)/lib \;
|
||||||
|
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user