comparison Makefile @ 26800:3ff3bd9bf0f9

Move the logic that decides if untranslated messages need to be added to help_mp.h into the helper script that generates those messages.
author diego
date Sun, 18 May 2008 23:33:46 +0000
parents 06fa17a9ee01
children 4b76560a933f
comparison
equal deleted inserted replaced
26799:06fa17a9ee01 26800:3ff3bd9bf0f9
769 @echo '#include "$(HELP_FILE)"' >> help_mp.h 769 @echo '#include "$(HELP_FILE)"' >> help_mp.h
770 else 770 else
771 iconv -f UTF-8 -t $(CHARSET) "$(HELP_FILE)" >> help_mp.h 771 iconv -f UTF-8 -t $(CHARSET) "$(HELP_FILE)" >> help_mp.h
772 endif 772 endif
773 @echo '#endif /* MPLAYER_HELP_MP_H */' >> help_mp.h 773 @echo '#endif /* MPLAYER_HELP_MP_H */' >> help_mp.h
774
775 ifneq ($(HELP_FILE),help/help_mp-en.h)
776 @echo '// untranslated messages from the English master file:' >> help_mp.h 774 @echo '// untranslated messages from the English master file:' >> help_mp.h
777 @help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h 775 @help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h
778 endif
779 776
780 777
781 778
782 ###### dependency declarations / specific CFLAGS ###### 779 ###### dependency declarations / specific CFLAGS ######
783 780