summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rwxr-xr-xhelp/help_diff.sh3
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 46d59343f1..aa61f75912 100644
--- a/Makefile
+++ b/Makefile
@@ -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