qt5Full: only include derivations

This commit is contained in:
Thomas Tuegel
2015-09-19 11:37:39 -05:00
parent a074852aa6
commit e5b124e492
2 changed files with 6 additions and 7 deletions
+5 -6
View File
@@ -16,16 +16,15 @@ Qml2Imports = lib/qt5/qml
Documentation = share/doc/qt5
EOF
for path in $paths; do
if [[ -d "$path/mkspecs" ]]; then
${lndir}/bin/lndir -silent "$path/mkspecs" "$out/mkspecs"
for pkg in $paths $qtbase; do
if [[ -d "$pkg/mkspecs" ]]; then
${lndir}/bin/lndir -silent "$pkg/mkspecs" "$out/mkspecs"
for dir in bin include lib share; do
if [[ -d "$path/$dir" ]]; then
${lndir}/bin/lndir -silent "$path/$dir" "$out/$dir"
if [[ -d "$pkg/$dir" ]]; then
${lndir}/bin/lndir -silent "$pkg/$dir" "$out/$dir"
fi
done
fi
done
''