diff --git a/src/qbrowserlib/makefile.am b/src/qbrowserlib/makefile.am index bc92904..ef3c354 100644 --- a/src/qbrowserlib/makefile.am +++ b/src/qbrowserlib/makefile.am @@ -77,7 +77,16 @@ ${QMAKE_TARGET}: ${QMAKE_MAKEFILE} ${ALL_SRC} $(LANGS:%=qbrowserlib_%.qm) install-data-local: ${mkinstalldirs} ${DESTDIR}${libdir} - ${INSTALL} ${QMAKE_TARGET}* ${DESTDIR}${libdir} + for file in ${QMAKE_TARGET}*; do + if test -e $file; then + ${INSTALL} $file ${DESTDIR}${libdir} + fi + done + for file in release/${QMAKE_TARGET}*; do + if test -e $file; then + ${INSTALL} $file ${DESTDIR}${libdir} + fi + done uninstall-local: -rm -r ${DESTDIR}${libdir}/${QMAKE_TARGET}*