summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: df2f5b30b106b8b3ff09ed387e5a35b3cbf7bc5c (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
all:
	@echo "    => Compiling usplash $(USPLASH_VERSION)"
	cd $(USPLASH_VERSION) && make

include common.mk


USPLASH_VERSION=$(TCOS_USPLASH_VERSION)

vars:
	@echo DISTRO=$(DISTRO)
	@echo USPLASH_VERSION=$(USPLASH_VERSION)

clean:
	@echo "    => Cleaning usplash $(USPLASH_VERSION)"
	@cd $(USPLASH_VERSION) && make clean

install:
	@if [ "$(USPLASH_VERSION)" != "0.5" ]; then\
		echo "    => Installing usplash theme $(USPLASH_VERSION)";\
		( cd $(USPLASH_VERSION) && make install DESTDIR=$(DESTDIR) ); \
	fi

	@if [ "$(USPLASH_VERSION)" = "0.5" ]; then\
		echo "    => Installing usplash theme 0.5";\
		( cd $(USPLASH_VERSION) && make install DESTDIR=$(DESTDIR)/usr/lib/usplash/ );\
	fi

	# splashy
	install -d $(DESTDIR)/etc/splashy/themes
	cp -r splashy/tcos $(DESTDIR)/etc/splashy/themes
	find $(DESTDIR)/etc/splashy/themes -name .svn | xargs rm -rf
	find $(DESTDIR)/etc/splashy/themes -name "*.xcf" | xargs rm -f

patch_max:
	# nothing to patch

patch_hardy:
	echo 6 > debian/compat
	sed -i 's/7\.0\.0/6\.0\.0/g' debian/control
	sed -i 's/3\.8\.0/3\.7\.2/g' debian/control

patch_intrepid:
	# nothing to patch

patch_jaunty:
	# nothing to patch

patch_karmic:
	# nothing to patch


patch_testing:
	# nothing to patch

patch_lenny:
	# nothing to patch

patch_unstable:
	# nothing to patch