Mercurial > mplayer.hg
diff Makefile @ 14830:8260cd3c585c
--charset configure option to convert help messages charset
author | reimar |
---|---|
date | Sat, 26 Feb 2005 13:38:17 +0000 |
parents | 577c16f551ad |
children | f5a8c71d94cf |
line wrap: on
line diff
--- a/Makefile Sat Feb 26 01:11:13 2005 +0000 +++ b/Makefile Sat Feb 26 13:38:17 2005 +0000 @@ -399,7 +399,11 @@ help_mp.h: help/help_mp-en.h $(HELP_FILE) @echo '// WARNING! This is a generated file. Do NOT edit.' > help_mp.h @echo '// See the help/ subdir for the editable files.' >> help_mp.h +ifeq ($(CHARSET),) @echo '#include "$(HELP_FILE)"' >> help_mp.h +else + iconv -f `cat $(HELP_FILE).charset` -t $(CHARSET) "$(HELP_FILE)" >> help_mp.h +endif ifneq ($(HELP_FILE),help/help_mp-en.h) @echo "Adding untranslated messages to help_mp.h"