Skip to content

Commit 1020026

Browse files
EGRY Gaborsravnborg
authored andcommitted
kconfig: update-po-config info
This patch adds tracking messages. Signed-off-by: Egry Gabor <gaboregry1@t-online.hu> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org>
1 parent 243f40c commit 1020026

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

‎scripts/kconfig/Makefile‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,25 @@ oldconfig: $(obj)/conf
2424
silentoldconfig: $(obj)/conf
2525
$< -s $(Kconfig)
2626

27-
# Create new linux.po file
27+
# Create new linux.pot file
2828
# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
2929
# The symlink is used to repair a deficiency in arch/um
3030
update-po-config: $(obj)/kxgettext
31-
xgettext --default-domain=linux \
31+
$(Q)echo " GEN config"
32+
$(Q)xgettext --default-domain=linux \
3233
--add-comments --keyword=_ --keyword=N_ \
3334
--from-code=UTF-8 \
3435
--files-from=scripts/kconfig/POTFILES.in \
3536
--output $(obj)/config.pot
3637
$(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
3738
$(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
38-
(for i in `ls arch/`; \
39-
do \
40-
$(obj)/kxgettext arch/$$i/Kconfig; \
41-
done ) >> $(obj)/config.pot
42-
msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
39+
$(Q)(for i in `ls arch/`; \
40+
do \
41+
echo " GEN $$i"; \
42+
$(obj)/kxgettext arch/$$i/Kconfig \
43+
>> $(obj)/config.pot; \
44+
done )
45+
$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
4346
--output $(obj)/linux.pot
4447
$(Q)rm -f arch/um/Kconfig.arch
4548
$(Q)rm -f $(obj)/config.pot
@@ -138,6 +141,7 @@ endif
138141
clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \
139142
.tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c
140143
clean-files += mconf qconf gconf
144+
clean-files += config.pot linux.pot
141145

142146
# Check that we have the required ncurses stuff installed for lxdialog (menuconfig)
143147
PHONY += $(obj)/dochecklxdialog

0 commit comments

Comments
 (0)