Question
Giving Alms (Donation/charity) with the intention of getting merit will give me merit?
Answer
Yes, if your intention is getting merit then you will get it.
Manu Smriti 4.234. For whatever purpose (a man) bestows any gift, for that same purpose he receives (in his next birth) with due honour its (reward).
But you should make sure that the recipient is worthy of receiving gifts. Also, one should never boast of the act after donating something.
Manu Smriti 4.237. By falsehood a sacrifice becomes vain, by self-complacency (the reward for) austerities is lost, longevity by speaking evil of Brahmanas, and (the reward of) a gift by boasting.
Note: “The question: Giving Alms (Donation/charity) with the intention of getting merit will give me merit?” is licensed by Stack Exchange Inc (https://hinduism.stackexchange.com/); user contributions licensed under CC BY-SA.