summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-05 16:29:10 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-05 16:29:10 +0000
commit84376fec0b8c50a6ec742113fa2c2d68c82e09ad (patch)
tree419f0c203d43d01b0f55577a741f916448185c53 /Makefile
parent6be44828040572d43a9aaeda0c42d96a8c1973cd (diff)
downloadmpv-84376fec0b8c50a6ec742113fa2c2d68c82e09ad.tar.bz2
mpv-84376fec0b8c50a6ec742113fa2c2d68c82e09ad.tar.xz
Add multiple inclusion guards to help_mp.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26333 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3479b712e7..773e278de6 100644
--- a/Makefile
+++ b/Makefile
@@ -339,11 +339,14 @@ doxygen_clean:
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"