Mercurial > mplayer.hg
changeset 26301:f3e785f2816a
Add multiple inclusion guards to help_mp.h.
author | diego |
---|---|
date | Sat, 05 Apr 2008 16:29:10 +0000 |
parents | 36dae6fb85af |
children | f85d0bad20ac |
files | Makefile |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sat Apr 05 16:19:10 2008 +0000 +++ b/Makefile Sat Apr 05 16:29:10 2008 +0000 @@ -339,11 +339,14 @@ help_mp.h: help/help_mp-en.h $(HELP_FILE) @echo '// WARNING! This is a generated file. Do NOT edit.' > help_mp.h @echo '// See the help/ subdir for the editable files.' >> help_mp.h + @echo '#ifndef MPLAYER_HELP_MP_H' >> help_mp.h + @echo '#define MPLAYER_HELP_MP_H' >> help_mp.h ifeq ($(CHARSET),) @echo '#include "$(HELP_FILE)"' >> help_mp.h 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 "Adding untranslated messages to help_mp.h"