mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-07 14:30:13 +01:00
updated release script to use install
This commit is contained in:
parent
ac6b6e1bf8
commit
bf606f1867
@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# $Id: //poco/1.3/release/script/mkrelease#2 $
|
# $Id: //poco/1.3/release/script/mkrelease#3 $
|
||||||
#
|
#
|
||||||
# mkrelease
|
# mkrelease
|
||||||
#
|
#
|
||||||
@ -207,18 +207,19 @@ cppunit:
|
|||||||
$(MAKE) -C $(POCO_BASE)/CppUnit
|
$(MAKE) -C $(POCO_BASE)/CppUnit
|
||||||
|
|
||||||
install: libexecs
|
install: libexecs
|
||||||
mkdir -p $(INSTALLDIR)/include/Poco
|
install -d $(INSTALLDIR)/include/Poco
|
||||||
mkdir -p $(INSTALLDIR)/lib
|
install -d $(INSTALLDIR)/lib
|
||||||
mkdir -p $(INSTALLDIR)/bin
|
install -d $(INSTALLDIR)/bin
|
||||||
for comp in $(COMPONENTS) ; do \
|
for comp in $(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 ; \
|
||||||
if [ -d "$(POCO_BUILD)/$$comp/bin" ] ; then \
|
if [ -d "$(POCO_BUILD)/$$comp/bin" ] ; then \
|
||||||
find $(POCO_BUILD)/$$comp/bin -perm -700 -type f -exec cp -Rf {} $(INSTALLDIR)/bin \; ; \
|
find $(POCO_BUILD)/$$comp/bin -perm -700 -type f -exec install {} $(INSTALLDIR)/bin \; ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
done
|
done
|
||||||
find $(POCO_BUILD)/lib -name "libPoco*" -exec cp -Rf {} $(INSTALLDIR)/lib \;
|
find $(POCO_BUILD)/lib -name "libPoco*" -type f -exec install {} $(INSTALLDIR)/lib \;
|
||||||
|
find $(POCO_BUILD)/lib -name "libPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/lib \;
|
||||||
|
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user