NAME=bootsplash
VERSION := 3.2.9

SUBDIRS=scripts fb fbmngplay fbtruetype splash po
FILES=$(SUBDIRS) Makefile ChangeLog README

prefix=/
sharedir=/usr/share
configdir=/etc
RPM=$(HOME)/rpm

SVNSOFT=svn+ssh://svn.mandriva.com/svn/soft/bootsplash/
SVNNAME=svn+ssh://svn.mandriva.com/svn/packages/cooker/bootsplash/current/

all: 
	@for i in $(SUBDIRS);do	make -C $$i all;done

install:
	@for i in $(SUBDIRS);do	make -C $$i install;done

dis: clean
	rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
	svn export -q -rBASE . $(NAME)-$(VERSION)
	find $(NAME)-$(VERSION) -name .cvsignore |xargs rm -rf
	tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
	bzip2 -9f ../$(NAME)-$(VERSION).tar
	rm -rf $(NAME)-$(VERSION)

clean:
	@for i in $(SUBDIRS);do	make -C $$i clean;done
	rm -f *~ \#*\#
