Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2aef4d3 authored by Peter Foley's avatar Peter Foley Committed by Michal Marek
Browse files

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: default avatarPeter Foley <pefoley2@verizon.net>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent c55ac154
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -50,9 +50,8 @@ localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf


# Create new linux.pot file
# Create new linux.pot file
# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
# Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files
# The symlink is used to repair a deficiency in arch/um
update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
	$(Q)echo "  GEN config"
	$(Q)echo "  GEN     config.pot"
	$(Q)xgettext --default-domain=linux                         \
	$(Q)xgettext --default-domain=linux                         \
	    --add-comments --keyword=_ --keyword=N_                 \
	    --add-comments --keyword=_ --keyword=N_                 \
	    --from-code=UTF-8                                       \
	    --from-code=UTF-8                                       \
@@ -67,6 +66,7 @@ update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
		$(obj)/kxgettext $$i                     \
		$(obj)/kxgettext $$i                     \
		     >> $(obj)/config.pot;               \
		     >> $(obj)/config.pot;               \
	    done )
	    done )
	$(Q)echo "  GEN     linux.pot"
	$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
	$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
	    --output $(obj)/linux.pot
	    --output $(obj)/linux.pot
	$(Q)rm -f $(srctree)/arch/um/Kconfig
	$(Q)rm -f $(srctree)/arch/um/Kconfig