diff options
-rw-r--r-- | scripts/kconfig/Makefile | 7 | ||||
-rw-r--r-- | scripts/kconfig/POTFILES.in | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index d28bf8550171..32e8c5a227c3 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -27,7 +27,7 @@ silentoldconfig: $(obj)/conf | |||
27 | # Create new linux.pot 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 |
30 | update-po-config: $(obj)/kxgettext | 30 | update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h |
31 | $(Q)echo " GEN config" | 31 | $(Q)echo " GEN config" |
32 | $(Q)xgettext --default-domain=linux \ | 32 | $(Q)xgettext --default-domain=linux \ |
33 | --add-comments --keyword=_ --keyword=N_ \ | 33 | --add-comments --keyword=_ --keyword=N_ \ |
@@ -139,7 +139,7 @@ gconf-objs := gconf.o kconfig_load.o zconf.tab.o | |||
139 | endif | 139 | endif |
140 | 140 | ||
141 | clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ | 141 | clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ |
142 | .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c | 142 | .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c gconf.glade.h |
143 | clean-files += mconf qconf gconf | 143 | clean-files += mconf qconf gconf |
144 | clean-files += config.pot linux.pot | 144 | clean-files += config.pot linux.pot |
145 | 145 | ||
@@ -254,6 +254,9 @@ $(obj)/%.moc: $(src)/%.h | |||
254 | $(obj)/lkc_defs.h: $(src)/lkc_proto.h | 254 | $(obj)/lkc_defs.h: $(src)/lkc_proto.h |
255 | sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' | 255 | sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' |
256 | 256 | ||
257 | # Extract gconf menu items for I18N support | ||
258 | $(obj)/gconf.glade.h: $(obj)/gconf.glade | ||
259 | intltool-extract --type=gettext/glade $(obj)/gconf.glade | ||
257 | 260 | ||
258 | ### | 261 | ### |
259 | # The following requires flex/bison/gperf | 262 | # The following requires flex/bison/gperf |
diff --git a/scripts/kconfig/POTFILES.in b/scripts/kconfig/POTFILES.in index cc94e46a79e8..19d0e63fb7ba 100644 --- a/scripts/kconfig/POTFILES.in +++ b/scripts/kconfig/POTFILES.in | |||
@@ -2,4 +2,5 @@ scripts/kconfig/mconf.c | |||
2 | scripts/kconfig/conf.c | 2 | scripts/kconfig/conf.c |
3 | scripts/kconfig/confdata.c | 3 | scripts/kconfig/confdata.c |
4 | scripts/kconfig/gconf.c | 4 | scripts/kconfig/gconf.c |
5 | scripts/kconfig/gconf.glade.h | ||
5 | scripts/kconfig/qconf.cc | 6 | scripts/kconfig/qconf.cc |