aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEGRY Gabor <gaboregry1@t-online.hu>2008-01-11 17:40:00 -0500
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 17:14:38 -0500
commit1020026f99069976001816b8198bc04ee342cd2e (patch)
tree75b187f85f04ef09c0bbafdea993563d7bf294c9 /scripts
parent243f40cecb292cbb2333749614cf54302fc9cdc0 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 80914358817e..d28bf8550171 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -24,22 +24,25 @@ oldconfig: $(obj)/conf
24silentoldconfig: $(obj)/conf 24silentoldconfig: $(obj)/conf
25 $< -s $(Kconfig) 25 $< -s $(Kconfig)
26 26
27# Create new linux.po file 27# Create new linux.pot file
28# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files 28# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
29# The symlink is used to repair a deficiency in arch/um 29# The symlink is used to repair a deficiency in arch/um
30update-po-config: $(obj)/kxgettext 30update-po-config: $(obj)/kxgettext
31 xgettext --default-domain=linux \ 31 $(Q)echo " GEN config"
32 $(Q)xgettext --default-domain=linux \
32 --add-comments --keyword=_ --keyword=N_ \ 33 --add-comments --keyword=_ --keyword=N_ \
33 --from-code=UTF-8 \ 34 --from-code=UTF-8 \
34 --files-from=scripts/kconfig/POTFILES.in \ 35 --files-from=scripts/kconfig/POTFILES.in \
35 --output $(obj)/config.pot 36 --output $(obj)/config.pot
36 $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot 37 $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
37 $(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch 38 $(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
38 (for i in `ls arch/`; \ 39 $(Q)(for i in `ls arch/`; \
39 do \ 40 do \
40 $(obj)/kxgettext arch/$$i/Kconfig; \ 41 echo " GEN $$i"; \
41 done ) >> $(obj)/config.pot 42 $(obj)/kxgettext arch/$$i/Kconfig \
42 msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ 43 >> $(obj)/config.pot; \
44 done )
45 $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
43 --output $(obj)/linux.pot 46 --output $(obj)/linux.pot
44 $(Q)rm -f arch/um/Kconfig.arch 47 $(Q)rm -f arch/um/Kconfig.arch
45 $(Q)rm -f $(obj)/config.pot 48 $(Q)rm -f $(obj)/config.pot
@@ -138,6 +141,7 @@ endif
138clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ 141clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \
139 .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c 142 .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c
140clean-files += mconf qconf gconf 143clean-files += mconf qconf gconf
144clean-files += config.pot linux.pot
141 145
142# Check that we have the required ncurses stuff installed for lxdialog (menuconfig) 146# Check that we have the required ncurses stuff installed for lxdialog (menuconfig)
143PHONY += $(obj)/dochecklxdialog 147PHONY += $(obj)/dochecklxdialog