From 919a6cdc0d6a1b991d950ae1c44b20ad2185ac0d Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 26 Feb 2005 13:38:17 +0000 Subject: --charset configure option to convert help messages charset git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14831 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9f06097596..3df07e3e88 100644 --- a/Makefile +++ b/Makefile @@ -399,7 +399,11 @@ doxygen_clean: 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" -- cgit v1.2.3