[Mplayer-cvslog] CVS: main configure, 1.921, 1.922 Makefile, 1.307, 1.308

Felix Buenemann atmosfear at users.sourceforge.net
Sat Oct 23 06:41:01 CEST 2004


This is broken, on my system I get an help_mp.h with #include "" which breaks 
make dep aswell as make (I have HELP_FILE = help/help_mp-en.h in my 
config.mak).

On Wednesday 20 October 2004 16:23, Torinthiel CVS wrote:
> CVS change done by Torinthiel CVS
>
> Update of /cvsroot/mplayer/main
> In directory mail:/var2/tmp/cvs-serv4503
>
> Modified Files:
> 	configure Makefile
> Log Message:
> Move help_mp.h generation to Makefile, so it's easier to maintain on
> help/*.h changes
>
>
> Index: configure
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.921
> retrieving revision 1.922
> diff -u -r1.921 -r1.922
> --- configure	18 Oct 2004 20:29:17 -0000	1.921
> +++ configure	20 Oct 2004 14:23:33 -0000	1.922
> @@ -6328,6 +6328,7 @@
>  EXTRA_INC = $_inc_extra $_inc_gtk
>  OPTFLAGS = -I../libvo -I../../libvo $_inc_x11 $CFLAGS \$(EXTRA_INC)
>  STRIPBINARIES = $_stripbinaries
> +HELP_FILE = $_mp_help
>
>  PRG = $_prg
>  PRG_MENCODER = $_prg_mencoder
> @@ -7117,23 +7118,6 @@
>
> 
> ###########################################################################
>##
>
> -echo "Creating help_mp.h"
> -cat > help_mp.h << EOF
> -//
> -// WARNING! This is a generated file. Do NOT edit.
> -// See the help/ subdir for the editable files.
> -//
> -#include "$_mp_help"
> -EOF
> -
> -if test $_mp_help != "help/help_mp-en.h"; then
> -  echo "Adding untranslated messages to help_mp.h"
> -  echo '// untranslated messages from the english master-file:' >>
> help_mp.h -  help/help_diff.sh $_mp_help <help/help_mp-en.h >> help_mp.h
> -fi
> -
> -##########################################################################
>### -
>  cat << EOF
>
>  Config files successfully generated by ./configure !
>
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/mplayer/main/Makefile,v
> retrieving revision 1.307
> retrieving revision 1.308
> diff -u -r1.307 -r1.308
> --- Makefile	20 Oct 2004 14:20:06 -0000	1.307
> +++ Makefile	20 Oct 2004 14:23:33 -0000	1.308
> @@ -262,8 +262,9 @@
>  # run.  This is necessary, because the make rule for version.h removes
> objects # in a recursive "make distclean" and we must wait for this "make
> distclean" to # finish before we can start building new object files.
> -$(MPLAYER_DEP): version.h
> -$(MENCODER_DEP): version.h
> +# help_mp.h is also required by a lot of files, so force generating it
> early. +$(MPLAYER_DEP): version.h help_mp.h
> +$(MENCODER_DEP): version.h help_mp.h
>
>  $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
>  	$(HOST_CC) $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML
> $(EXTRA_LIB) $(I18NLIBS) @@ -355,7 +356,7 @@
>
>  dep:	depend
>
> -depend:
> +depend: help_mp.h
>  	./version.sh `$(CC) -dumpversion`
>  	$(CC) -MM $(CFLAGS) -DCODECS2HTML mplayer.c mencoder.c $(SRCS_MPLAYER)
> $(SRCS_MENCODER) 1>.depend @for a in $(PARTS); do $(MAKE) -C $$a dep; done
> @@ -385,6 +386,17 @@
>  doxygen_clean:
>  	-rm -rf DOCS/tech/doxygen
>
> +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 '#include "$(HELP_FILE)"' >> help_mp.h
> +
> +ifneq ($(HELP_FILE),help/help_mp-en.h)
> +	@echo "Adding untranslated messages to help_mp.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
> +
>  # rebuild at every CVS update or config/makefile change:
>  ifeq ($(wildcard .developer),)
>  ifneq ($(wildcard CVS/Entries),)
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________




More information about the MPlayer-cvslog mailing list