NAME=bootsplash VERSION := 3.2.4 SUBDIRS=scripts fb fbmngplay fbtruetype splash po FILES=$(SUBDIRS) Makefile bootsplash.spec 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 dir: mkdir $(NAME)-$(VERSION) tar: dir localcopy tar cvf $(NAME).tar $(NAME)-$(VERSION) rm -rf $(NAME)-$(VERSION) localcopy: tar c --exclude=.svn $(FILES) | tar x -C $(NAME)-$(VERSION) clean: @for i in $(SUBDIRS);do make -C $$i clean;done rm -f *~ \#*\#