[MPlayer-cvslog] r26832 - in trunk: Makefile help/help_diff.sh
diego
subversion at mplayerhq.hu
Mon May 19 01:33:46 CEST 2008
Author: diego
Date: Mon May 19 01:33:46 2008
New Revision: 26832
Log:
Move the logic that decides if untranslated messages need to be added to
help_mp.h into the helper script that generates those messages.
Modified:
trunk/Makefile
trunk/help/help_diff.sh
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Mon May 19 01:33:46 2008
@@ -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
Modified: trunk/help/help_diff.sh
==============================================================================
--- trunk/help/help_diff.sh (original)
+++ trunk/help/help_diff.sh Mon May 19 01:33:46 2008
@@ -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
More information about the MPlayer-cvslog
mailing list