summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-27 22:03:21 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-27 22:03:21 +0000
commit1bb19a7f48cccc40bac0af9d21870c3f87956e75 (patch)
treecb9b8d541aace96aa0c4aca8da6a89cb0b25a907 /Makefile
parentbc212e3500ef776f849a9ee6c04dfaa4994c62f6 (diff)
downloadmpv-1bb19a7f48cccc40bac0af9d21870c3f87956e75.tar.bz2
mpv-1bb19a7f48cccc40bac0af9d21870c3f87956e75.tar.xz
Move messages header file creation to a separate shell script.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26910 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 10f8ce66db..c853648e00 100644
--- a/Makefile
+++ b/Makefile
@@ -743,17 +743,7 @@ config.mak: configure
@echo "############################################################"
help_mp.h: help/help_mp-en.h $(HELP_FILE)
- @echo '// WARNING! This is a generated file. Do NOT edit.' > $@
- @echo '// See the help/ subdir for the editable files.' >> $@
- @echo '#ifndef MPLAYER_HELP_MP_H' >> $@
- @echo '#define MPLAYER_HELP_MP_H' >> $@
- @cat "$(HELP_FILE)" >> $@
- @echo '// untranslated messages from the English master file:' >> $@
- help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> $@
- @echo '#endif /* MPLAYER_HELP_MP_H */' >> $@
-ifneq ($(CHARSET),UTF-8)
- iconv -f UTF-8 -t $(CHARSET) $@ > $@.tmp; mv $@.tmp $@
-endif
+ help/help_create.sh $(HELP_FILE) $(CHARSET)
# rebuild version.h each time the working copy is updated
ifeq ($(wildcard .svn/entries),.svn/entries)