diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-18 23:33:46 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-18 23:33:46 +0000 |
commit | 5f7c758c800bb8e0003f5f4a4c9fa2d79b31547c (patch) | |
tree | c2c5cd6bce4ff43bd389c2353875ffe02f13218a | |
parent | 955495414e51fe1aff47e76d9fd18edcabd4e4d3 (diff) | |
download | mpv-5f7c758c800bb8e0003f5f4a4c9fa2d79b31547c.tar.bz2 mpv-5f7c758c800bb8e0003f5f4a4c9fa2d79b31547c.tar.xz |
Move the logic that decides if untranslated messages need to be added to
help_mp.h into the helper script that generates those messages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26832 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | help/help_diff.sh | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -771,11 +771,8 @@ else iconv -f UTF-8 -t $(CHARSET) "$(HELP_FILE)" >> help_mp.h endif @echo '#endif /* MPLAYER_HELP_MP_H */' >> help_mp.h - -ifneq ($(HELP_FILE),help/help_mp-en.h) @echo '// untranslated messages from the English master file:' >> help_mp.h @help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h -endif diff --git a/help/help_diff.sh b/help/help_diff.sh index 2e12951a15..da67880323 100755 --- a/help/help_diff.sh +++ b/help/help_diff.sh @@ -6,6 +6,9 @@ # # Example: help_diff.sh help_mp-hu.h < help_mp-en.h > missing.h +# Processing the master file, nothing to do. +test $1 = "help/help_mp-en.h" && exit 0 + curr="" while read -r line; do |