diff --git a/src/makefile.am b/src/makefile.am index f59a68e..2a10ab0 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -84,8 +84,24 @@ ${QMAKE_MAKEFILE}: ${QMAKE_PROJECT} ${ALL_SRC} ${QMAKE_TARGET}: ${QMAKE_MAKEFILE} ${ALL_SRC} $(LANGS:%=@PACKAGENAME@_%.qm) make -f ${QMAKE_MAKEFILE} +install-data-local: + ${mkinstalldirs} ${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}* + clean-local: - -rm -r ${QMAKE_TARGET}.app + -rm -r ${QMAKE_TARGET}* CLEANFILES = ${TARGETS} ${TARGETS:%=%.exe} $(LANGS:%=@PACKAGENAME@_%.qm) \ *.o *.obj qrc_*.cpp ui_*.h moc_*.cpp \