artifacts-tar: respect NO_GETTEXT
commit434882405931bf240d9ad0c08549d651fbf7daf0
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 4 Jul 2021 22:55:12 +0000 (4 22:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Jul 2021 19:20:58 +0000 (6 12:20 -0700)
tree52dbd33f8d43554b4621a55058f9fcb0a6886fde
parentd681d0dc3a77016caa7e26abfe734afbdab44de5
artifacts-tar: respect NO_GETTEXT

We obviously do not want to bundle `.mo` files during `make
artifacts-tar NO_GETTEXT=Yep`, but that was the case.

To fix that, go a step beyond just fixing the symptom, and simply
define the lists of `.po` and `.mo` files as empty if `NO_GETTEXT` is
set.

Helped-by: Matthias Aßhauer <mha1993@live.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile