[MPlayer-cvslog] r26333 - trunk/Makefile
diego
subversion at mplayerhq.hu
Sat Apr 5 18:29:10 CEST 2008
Author: diego
Date: Sat Apr 5 18:29:10 2008
New Revision: 26333
Log:
Add multiple inclusion guards to help_mp.h.
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Apr 5 18:29:10 2008
@@ -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"
More information about the MPlayer-cvslog
mailing list