mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
configure: add check for the program "msgfmt" when i18n is requested
The program may not be installed because it is not needed for non-dev activities, so it is better to check at the beginning than to let the compilation fail later. The check is done only if the user has specified that he wants to install translations. Took the opportunity to make the generation of "mo" file follow the silent rules in Makefiles if user enabled them. Signed-off-by: Christophe <curis@Ares.blacknet.hell>
This commit is contained in:
committed by
Carlos R. Mafra
parent
2cfb2b5276
commit
b944a4beb2
@@ -40,7 +40,7 @@ POTFILES = \
|
||||
SUFFIXES = .po .mo
|
||||
|
||||
.po.mo:
|
||||
msgfmt -c -o $@ $<
|
||||
$(AM_V_GEN)$(MSGFMT) -c -o $@ $<
|
||||
|
||||
|
||||
all-local: $(CATALOGS)
|
||||
|
||||
Reference in New Issue
Block a user