diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-12-18 18:15:16 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-01-14 18:13:53 -0500 |
commit | e2aef4d33ac43ec45e4fc2903288030d7f464832 (patch) | |
tree | 336dac0c61fe53a36725c220f147492e60a6ed33 /scripts/kconfig/Makefile | |
parent | c55ac154019f628b42316bc21545ee1b2bee3db6 (diff) |
Improve update-po-config output
Make the V=0 output from update-po-config be aligned correctly.
Also remove an outdated comment and add a "GEN" statement.
Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index ba573fe7c74d..4dba0b8f1f02 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -50,9 +50,8 @@ localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf | |||
50 | 50 | ||
51 | # Create new linux.pot file | 51 | # Create new linux.pot file |
52 | # Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files | 52 | # Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files |
53 | # The symlink is used to repair a deficiency in arch/um | ||
54 | update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h | 53 | update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h |
55 | $(Q)echo " GEN config" | 54 | $(Q)echo " GEN config.pot" |
56 | $(Q)xgettext --default-domain=linux \ | 55 | $(Q)xgettext --default-domain=linux \ |
57 | --add-comments --keyword=_ --keyword=N_ \ | 56 | --add-comments --keyword=_ --keyword=N_ \ |
58 | --from-code=UTF-8 \ | 57 | --from-code=UTF-8 \ |
@@ -63,10 +62,11 @@ update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h | |||
63 | $(Q)ln -fs Kconfig.x86 arch/um/Kconfig | 62 | $(Q)ln -fs Kconfig.x86 arch/um/Kconfig |
64 | $(Q)(for i in `ls $(srctree)/arch/*/Kconfig`; \ | 63 | $(Q)(for i in `ls $(srctree)/arch/*/Kconfig`; \ |
65 | do \ | 64 | do \ |
66 | echo " GEN $$i"; \ | 65 | echo " GEN $$i"; \ |
67 | $(obj)/kxgettext $$i \ | 66 | $(obj)/kxgettext $$i \ |
68 | >> $(obj)/config.pot; \ | 67 | >> $(obj)/config.pot; \ |
69 | done ) | 68 | done ) |
69 | $(Q)echo " GEN linux.pot" | ||
70 | $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ | 70 | $(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \ |
71 | --output $(obj)/linux.pot | 71 | --output $(obj)/linux.pot |
72 | $(Q)rm -f $(srctree)/arch/um/Kconfig | 72 | $(Q)rm -f $(srctree)/arch/um/Kconfig |