diff --git a/src/makefile.am b/src/makefile.am index b0bee8e..9a70003 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -85,15 +85,17 @@ ${QMAKE_TARGET}: ${QMAKE_MAKEFILE} ${ALL_SRC} $(LANGS:%=@PACKAGENAME@_%.qm) make -f ${QMAKE_MAKEFILE} install-data-local: - ${mkinstalldirs} ${DESTDIR}${libdir} + ${mkinstalldirs} ${DESTDIR}${bindir} for file in ${QMAKE_TARGET}{,.app,.exe}; do \ - if test -e $$file; then \ + if test -d $$file; then \ + ${INSTALL} -d $$file ${DESTDIR}${bindir}; \ + elsif test -e $$file; then \ ${INSTALL} $$file ${DESTDIR}${bindir}; \ fi; \ done uninstall-local: - -rm -r ${DESTDIR}${libdir}/${QMAKE_TARGET}* + -rm -r ${DESTDIR}${bindir}/${QMAKE_TARGET}* clean-local: -rm -r ${QMAKE_TARGET}{,.app,.exe}