diff --git a/src/designer/makefile.am b/src/designer/makefile.am index e9b8671..d26ea87 100644 --- a/src/designer/makefile.am +++ b/src/designer/makefile.am @@ -80,13 +80,8 @@ ${QMAKE_TARGET}: ${QMAKE_MAKEFILE} ${ALL_SRC} install-data-local: ${QMAKE_MAKEFILE} ${mkinstalldirs} ${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}; \ + if test -e $$file; then \ + ${INSTALL} $$file ${DESTDIR}${QT_INSTALL_PLUGINS}; \ fi; \ done diff --git a/src/qbrowserlib/makefile.am b/src/qbrowserlib/makefile.am index 08dacc9..9cc35a4 100644 --- a/src/qbrowserlib/makefile.am +++ b/src/qbrowserlib/makefile.am @@ -78,8 +78,8 @@ ${QMAKE_TARGET}: ${QMAKE_MAKEFILE} ${ALL_SRC} $(LANGS:%=qbrowserlib_%.qm) install-data-local: ${mkinstalldirs} ${DESTDIR}${libdir} for file in ${QMAKE_TARGET}{.so*,*.dylib,*.dll}; do \ - if test -e $file; then \ - ${INSTALL} $file ${DESTDIR}${libdir}; \ + if test -e $$file; then \ + ${INSTALL} $$file ${DESTDIR}${libdir}; \ fi; \ done