[MPlayer-dev-eng] config.h and config.mak removal on distclean
Juergen Keil
jk at tools.de
Mon Dec 30 21:23:41 CET 2002
> > `make distclean` should remove any files created by configure, right?
> > Including config.h and config.mak?
> > If this is the case, here's a patch against cvs.
>
> Looks reasonable, trivial and correct, applied.
Now there's a problem when compiling mplayer from CVS, when you
do not have a '.developer' file in mplayer's source directory:
The following rules in the top level Makefile...
# rebuild at every config.h/config.mak change:
version.h:
./version.sh `$(CC) -dumpversion`
ifeq ($(wildcard .developer),)
$(MAKE) distclean
endif
$(MAKE) depend
# rebuild at every CVS update or config/makefile change:
ifeq ($(wildcard .developer),)
ifneq ($(wildcard CVS/Entries),)
version.h: CVS/Entries
endif
version.h: config.h config.mak Makefile
endif
run a "make distclean" after you've configured mplayer (created a new config.h
/ config.mak). The automatic "make distclean" before builing mplayer
immediatelly deletes the new config.h / config.mak; of cause without
config.h and config.mak, mplayer does not build ...
Workaround is to create the '.developer' file.
More information about the MPlayer-dev-eng
mailing list