]> git.lyx.org Git - features.git/commitdiff
Cleanup internal structure of embedded Qt frameworks
authorStephan Witt <switt@lyx.org>
Fri, 21 Feb 2020 08:44:07 +0000 (09:44 +0100)
committerStephan Witt <switt@lyx.org>
Fri, 22 May 2020 05:24:01 +0000 (07:24 +0200)
(cherry picked from commit 6b9b07e6dc4fae09c5ab6f0d6193e2a02cc22073)

development/LyX-Mac-binary-release.sh

index 8272cf5380cbd1d937fb5cb0bc3ebe491dbc2cd6..5445e9b1c1421e9b5fe35974b5187c8a69b8448c 100644 (file)
@@ -792,7 +792,9 @@ EOF
                test -d "${condir}/${fwdir}" || (
                        echo Copy framework "${source}/lib/"$(basename "${fwdir}")
                        cp -pR "${source}/lib/"$(basename "${fwdir}") "${condir}/${fwdir}"
-                       rm -f "${condir}/${fwdir}/${version}${libnm}"_debug
+                       rm -f "${condir}/${fwdir}/${libnm}"_debug "${condir}/${fwdir}/${version}${libnm}"_debug
+                       test -f "${condir}/${fwdir}/${libnm}".prl && mv "${condir}/${fwdir}/${libnm}".prl "${condir}/${fwdir}"/Resources
+                       test -f "${condir}/${fwdir}/${libnm}"_debug.prl && mv "${condir}/${fwdir}/${libnm}"_debug.prl "${condir}/${fwdir}"/Resources
                        installname -id "@executable_path/../${fwdir}/${version}${libnm}" "${condir}/${fwdir}/${version}${libnm}"
                        find "${condir}/PlugIns" "${condir}/"$(dirname "${fwdir}") -name Headers -prune -o -type f -print | while read filename ; do
                                if [ "${filename}" != "${target}" ]; then