From c7c06a5893f008e1118444297d2a331849444385 Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Fri, 22 Jul 2016 15:50:51 +0300 Subject: [PATCH] removing "bitmonero" directory in "distclean" target --- monero-core.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/monero-core.pro b/monero-core.pro index 0c24ea0d..db5a618f 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -6,8 +6,8 @@ WALLET_ROOT=$$PWD/bitmonero CONFIG += c++11 -# cleaning "auto-generated" bitmonero directory on "make clean" -QMAKE_CLEAN += -r $$WALLET_ROOT +# cleaning "auto-generated" bitmonero directory on "make distclean" +QMAKE_DISTCLEAN += -r $$WALLET_ROOT INCLUDEPATH += $$WALLET_ROOT/include \ $$PWD/src/libwalletqt @@ -127,6 +127,8 @@ trans_release.depends = trans_update $$TRANSLATIONS #translate.commands = $(MKDIR) ${DESTDIR}/i18n && $(COPY) $$PWD/translations/*.qm ${DESTDIR}/i18n translate.depends = trans_release +deploy.commands = pushd $QMAKE_ + QMAKE_EXTRA_TARGETS += trans_update trans_release translate # updating transations only in release mode as this is requires to re-link project