blob: 3262e63e220e044e7dda0972c73330e18cb42fa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
NAME=bootsplash
VERSION := 3.2.25
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 || exit 1 ;done
install:
@for i in $(SUBDIRS);do make -C $$i install || exit 1 ;done
dis: dist
dist: clean
dist:
rm -rf ../$(NAME)-$(VERSION).tar*
@if [ -e ".svn" ]; then \
$(MAKE) dist-svn; \
else \
echo "Unknown SCM (not SVN nor GIT)";\
exit 1; \
fi;
$(info $(NAME)-$(VERSION).tar.bz2 is ready)
dist-svn:
rm -rf $(NAME)-$(VERSION)
svn export -q -rBASE . $(NAME)-$(VERSION)
find $(NAME)-$(VERSION) -name .cvsignore |xargs rm -rf
tar jcf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
clean:
@for i in $(SUBDIRS);do make -C $$i clean;done
rm -f *~ \#*\#
|