diff --git a/src/makefile.am b/src/makefile.am index 2e41059..4a2db9e 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -88,7 +88,7 @@ install-data-local: ${mkinstalldirs} ${DESTDIR}${bindir} for file in ${QMAKE_TARGET}{,.app,.exe}; do \ if test -d $$file; then \ - ${INSTALL} -d $$file ${DESTDIR}${bindir}; \ + rsync -a --delete $$file ${DESTDIR}${bindir}/; \ elif test -e $$file; then \ ${INSTALL} $$file ${DESTDIR}${bindir}; \ fi; \