diff --git a/src/designer/makefile.am b/src/designer/makefile.am index ea3a67c..e9b8671 100644 --- a/src/designer/makefile.am +++ b/src/designer/makefile.am @@ -79,7 +79,16 @@ ${QMAKE_TARGET}: ${QMAKE_MAKEFILE} ${ALL_SRC} install-data-local: ${QMAKE_MAKEFILE} ${mkinstalldirs} ${DESTDIR}${QT_INSTALL_PLUGINS} - ${INSTALL} ${QMAKE_TARGET:%=lib%*} ${DESTDIR}${QT_INSTALL_PLUGINS} + for file in ${QMAKE_TARGET:%=lib%*}; do \ + if test -e $file; then \ + ${INSTALL} $file ${DESTDIR}${QT_INSTALL_PLUGINS}; \ + fi; \ + done + for file in release/${QMAKE_TARGET:%=lib%*}; do \ + if test -e $file; then \ + ${INSTALL} $file ${DESTDIR}${QT_INSTALL_PLUGINS}; \ + fi; \ + done uninstall-local: -rm -r ${QMAKE_TARGET:%=${DESTDIR}${QT_INSTALL_PLUGINS}/lib%*}