[mythtv] Global make for Mythtv and plugins?

David Engel gigem at comcast.net
Fri Oct 22 22:14:57 UTC 2004


On Fri, Oct 22, 2004 at 04:12:28PM -0400, Art Morales wrote:
> Has anyone made a global makefile to compile/install multiple modules from CVS?

mythtv has to be done by itself since all of the plugins expect to
find it in the installed location.  Here is a Makefile I use for the
plugins after mythtv is built and installed.

David
-- 
David Engel
gigem at comcast.net
-------------- next part --------------
SUBDIRS = mythdvd mythgallery mythmusic mythnews mythvideo mythweather

export QTDIR=/usr/share/qt3

all install clean distclean:
	set -e; \
	for f in $(SUBDIRS); do \
		echo "Running make $@ in $$f"; \
		cd $$f; \
		if [ $@ = "all" -a $$f = "mythdvd" ]; then \
			./configure --enable-transcode --enable-vcd; \
		elif [ $@ = "all" -a $$f = "mythmusic" ]; then \
			./configure --enable-fftw ; \
		elif [ $@ = "all" -a $$f = "mythgallery" ]; then \
			./configure ; \
		fi; \
		if [ ! -f Makefile ]; then \
			qmake; \
		fi; \
		$(MAKE) $@; \
		echo; \
		cd ..; \
	done

cvsup:
	set -e; \
	for f in  $(SUBDIRS); do \
		echo "Running cvs up in $$f"; \
		cd $$f; \
		cvs -z3 up -d; \
		echo; \
		cd ..; \
	done



More information about the mythtv-dev mailing list