mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-10-29 17:52:44 +00:00
add Encodings lib to release script
This commit is contained in:
@@ -17,7 +17,7 @@ if [ "$1" = "" ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
comps="Foundation XML JSON Util Net"
|
comps="Foundation Encodings XML JSON Util Net"
|
||||||
internal=0
|
internal=0
|
||||||
specfile=""
|
specfile=""
|
||||||
version=""
|
version=""
|
||||||
@@ -271,7 +271,7 @@ endif
|
|||||||
.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
|
||||||
poco: libexecs $(if $(TESTS),tests) $(if $(SAMPLES),samples)
|
poco: libexecs $(if $(TESTS),tests) $(if $(SAMPLES),samples)
|
||||||
all: libexecs tests samples
|
all: libexecs tests samples
|
||||||
|
|
||||||
INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
|
INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
|
||||||
@@ -282,7 +282,7 @@ echo "COMPONENTS = $comps" >>${target}/Makefile
|
|||||||
cat >>${target}/Makefile <<'ENDOFSCRIPT'
|
cat >>${target}/Makefile <<'ENDOFSCRIPT'
|
||||||
|
|
||||||
cppunit:
|
cppunit:
|
||||||
$(MAKE) -C $(POCO_BASE)/CppUnit
|
$(MAKE) -C $(POCO_BASE)/CppUnit
|
||||||
|
|
||||||
CppUnit-clean:
|
CppUnit-clean:
|
||||||
$(MAKE) -C $(POCO_BASE)/CppUnit clean
|
$(MAKE) -C $(POCO_BASE)/CppUnit clean
|
||||||
@@ -354,20 +354,20 @@ do
|
|||||||
dependencies="$dependencies ${dep}-libexec"
|
dependencies="$dependencies ${dep}-libexec"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
cat >>${target}/Makefile <<ENDOFSCRIPT
|
cat >>${target}/Makefile <<ENDOFSCRIPT
|
||||||
|
|
||||||
${comp}-libexec: $dependencies
|
${comp}-libexec: $dependencies
|
||||||
\$(MAKE) -C \$(POCO_BASE)/${comp}
|
\$(MAKE) -C \$(POCO_BASE)/${comp}
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
|
|
||||||
if [ -d "${POCO_BASE}/${comp}/testsuite" ] ; then
|
if [ -d "${POCO_BASE}/${comp}/testsuite" ] ; then
|
||||||
cat >>${target}/Makefile <<ENDOFSCRIPT
|
cat >>${target}/Makefile <<ENDOFSCRIPT
|
||||||
|
|
||||||
${comp}-tests: ${comp}-libexec cppunit
|
${comp}-tests: ${comp}-libexec cppunit
|
||||||
\$(MAKE) -C \$(POCO_BASE)/${comp}/testsuite
|
\$(MAKE) -C \$(POCO_BASE)/${comp}/testsuite
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "${POCO_BASE}/${comp}/samples" ] ; then
|
if [ -d "${POCO_BASE}/${comp}/samples" ] ; then
|
||||||
sdependencies=""
|
sdependencies=""
|
||||||
if [ -f "${POCO_BASE}/${comp}/samples/dependencies" ] ; then
|
if [ -f "${POCO_BASE}/${comp}/samples/dependencies" ] ; then
|
||||||
@@ -378,8 +378,8 @@ ENDOFSCRIPT
|
|||||||
sdependencies="$sdependencies ${dep}-libexec"
|
sdependencies="$sdependencies ${dep}-libexec"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
cat >>${target}/Makefile <<ENDOFSCRIPT
|
cat >>${target}/Makefile <<ENDOFSCRIPT
|
||||||
|
|
||||||
${comp}-samples: ${comp}-libexec $sdependencies
|
${comp}-samples: ${comp}-libexec $sdependencies
|
||||||
\$(MAKE) -C \$(POCO_BASE)/${comp}/samples
|
\$(MAKE) -C \$(POCO_BASE)/${comp}/samples
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
@@ -392,13 +392,13 @@ ${comp}-clean:
|
|||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
|
|
||||||
if [ -f "${POCO_BASE}/${comp}/testsuite/Makefile" ] ; then
|
if [ -f "${POCO_BASE}/${comp}/testsuite/Makefile" ] ; then
|
||||||
cat >>${target}/Makefile <<ENDOFSCRIPT
|
cat >>${target}/Makefile <<ENDOFSCRIPT
|
||||||
\$(MAKE) -C \$(POCO_BASE)/${comp}/testsuite clean
|
\$(MAKE) -C \$(POCO_BASE)/${comp}/testsuite clean
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "${POCO_BASE}/${comp}/samples/Makefile" ] ; then
|
if [ -f "${POCO_BASE}/${comp}/samples/Makefile" ] ; then
|
||||||
cat >>${target}/Makefile <<ENDOFSCRIPT
|
cat >>${target}/Makefile <<ENDOFSCRIPT
|
||||||
\$(MAKE) -C \$(POCO_BASE)/${comp}/samples clean
|
\$(MAKE) -C \$(POCO_BASE)/${comp}/samples clean
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
fi
|
fi
|
||||||
@@ -525,13 +525,13 @@ fi
|
|||||||
if [ "$output" = "" ] ; then
|
if [ "$output" = "" ] ; then
|
||||||
cd releases
|
cd releases
|
||||||
find ${target}/ -print | sed "s:^${target}/*::" >${target}/MANIFEST
|
find ${target}/ -print | sed "s:^${target}/*::" >${target}/MANIFEST
|
||||||
|
|
||||||
tar cf poco-${version}.tar poco-${version}
|
tar cf poco-${version}.tar poco-${version}
|
||||||
gzip poco-${version}.tar
|
gzip poco-${version}.tar
|
||||||
|
|
||||||
tar cf poco-${version}.tar poco-${version}
|
tar cf poco-${version}.tar poco-${version}
|
||||||
bzip2 poco-${version}.tar
|
bzip2 poco-${version}.tar
|
||||||
|
|
||||||
if [ -x /usr/bin/zip ] ; then
|
if [ -x /usr/bin/zip ] ; then
|
||||||
/usr/bin/zip -r -q poco-${version}.zip poco-${version}
|
/usr/bin/zip -r -q poco-${version}.zip poco-${version}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user