mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Take care of libtool archives in split_dev_deploy
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
fa95db618e
commit
dbe75332e5
22 changed files with 6 additions and 24 deletions
|
@ -32,7 +32,5 @@ deploy() {
|
|||
strip_files ${DEPLOY}/lib/*.so ${DEPLOY}/bin/db_*
|
||||
|
||||
rm -r "$DEPLOY/docs"
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm -r "$DEPLOY/share"
|
||||
rm -r ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -28,7 +28,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r ${DEPLOY}/share/man
|
||||
|
||||
if [ -e ${DEPLOY}/share/doc ]; then
|
||||
|
|
|
@ -29,7 +29,6 @@ deploy() {
|
|||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm -r "$DEPLOY/share/man"
|
||||
rm -r ${DEPLOY}/lib/*.la
|
||||
|
||||
for target in depmod insmod lsmod modinfo modprobe rmmod; do
|
||||
ln -sf kmod $DEPLOY/bin/$target
|
||||
|
|
|
@ -26,7 +26,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -26,7 +26,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/bin"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm -r "$DEPLOY/share"
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm -r "$DEPLOY/share"
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -26,7 +26,5 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -26,7 +26,5 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm -r "$DEPLOY/share"
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm -r "$DEPLOY/share"
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -30,7 +30,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -27,7 +27,6 @@ deploy() {
|
|||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm -r "$DEPLOY/share"
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
}
|
||||
|
|
|
@ -29,7 +29,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -61,7 +61,6 @@ deploy() {
|
|||
|
||||
rm -r "$DEPLOY/share/man"
|
||||
rm -r "$DEPLOY/share/doc"
|
||||
rm -r ${DEPLOY}/lib/*.la
|
||||
|
||||
if [ -e "$DEPLOY/sbin" ]; then
|
||||
mv ${DEPLOY}/sbin/* ${DEPLOY}/bin
|
||||
|
|
|
@ -26,7 +26,6 @@ deploy() {
|
|||
|
||||
make DESTDIR="$DEPLOY" install-strip
|
||||
|
||||
rm ${DEPLOY}/lib/*.la
|
||||
rm -r "$DEPLOY/share"
|
||||
|
||||
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
||||
|
|
|
@ -32,6 +32,12 @@ split_dev_deploy() {
|
|||
mv "$1/lib/pkgconfig" "$2/lib"
|
||||
fi
|
||||
|
||||
for f in ${1}/lib/*.la; do
|
||||
if [ -e "$f" ]; then
|
||||
rm "$f"
|
||||
fi
|
||||
done
|
||||
|
||||
for f in ${1}/lib/*.a; do
|
||||
if [ -f "$f" ]; then
|
||||
mkdir -p "$2/lib"
|
||||
|
|
Loading…
Reference in a new issue