261
262
263
264
265
266
267
268
269
270
271
272
273
274
|
mkdir "${OUTDIR}/lib" || exit 1
cp -r "${INSTDIR}/lib"/* "${OUTDIR}/lib/"
rm -rf "${OUTDIR}/lib/pkgconfig"
rm -f "${OUTDIR}"/lib/* >/dev/null 2>/dev/null
find "${OUTDIR}" -name '*.a' | xargs rm -f >/dev/null 2>/dev/null
# Clean up packages that are not needed
if [ -n "${KITCREATOR_MINBUILD}" ]; then
find "${OUTDIR}" -name "tcltest*" -type d | xargs rm -rf
fi
# Clean up encodings
if [ -n "${KITCREATOR_MINENCODINGS}" ]; then
|
>
>
>
|
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
mkdir "${OUTDIR}/lib" || exit 1
cp -r "${INSTDIR}/lib"/* "${OUTDIR}/lib/"
rm -rf "${OUTDIR}/lib/pkgconfig"
rm -f "${OUTDIR}"/lib/* >/dev/null 2>/dev/null
find "${OUTDIR}" -name '*.a' | xargs rm -f >/dev/null 2>/dev/null
# Remove archive files that are just stubs for other files
find "${INSTDIR}" -name '*.a' ! -name '*stub*' | grep -v '/libtcl[0-9\.][0-9\.]*\.a$' | xargs rm -f >/dev/null 2>/dev/null
# Clean up packages that are not needed
if [ -n "${KITCREATOR_MINBUILD}" ]; then
find "${OUTDIR}" -name "tcltest*" -type d | xargs rm -rf
fi
# Clean up encodings
if [ -n "${KITCREATOR_MINENCODINGS}" ]; then
|