[mythtv] i've put ebuilds for cvs version of myth andassociated modules up on the web

David Engel gigem at comcast.net
Tue May 11 16:39:41 EDT 2004


On Tue, May 11, 2004 at 09:08:00PM +0100, Simon Kenyon wrote:
> i have to say that while it is not hard - it *is* tedious and error prone
> 
> it is:
> 
> cvs update
> ./configure (in some cases)
> qmake
> make
> make install
> 
> this is all repeated 9 times

I only have to type it once for the modules I use with this Makefile.

David
-- 
David Engel
gigem at comcast.net
-------------- next part --------------
SUBDIRS = mythdvd mythgallery mythmusic 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