File: rules

package info (click to toggle)
hildon-icons 2.1.debian-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 4,708 kB
  • ctags: 4
  • sloc: sh: 71; makefile: 32
file content (42 lines) | stat: -rwxr-xr-x 1,029 bytes parent folder | download
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
#!/usr/bin/make -f

include $(CURDIR)/debian/update-patches.mk
include /usr/share/quilt/quilt.make

build: patch

clean: unpatch
	dh_testdir
	dh_testroot
	[ ! -f Makefile ] || $(MAKE) distclean
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	mkdir -p $(CURDIR)/debian/tmp/usr/share/icons/hildon
	cp index.theme $(CURDIR)/debian/tmp/usr/share/icons/hildon/
	./install-theme.sh $(CURDIR)/icons $(CURDIR)/debian/tmp/usr/share/icons/hildon
	./make-mime-symlinks.sh $(CURDIR)/debian/tmp/usr/share/icons/hildon/scalable
	./make-mime-symlinks.sh $(CURDIR)/debian/tmp/usr/share/icons/hildon/26x26

# Build architecture-independent files here.
binary-indep: build install
	dh_install -i
	dh_installchangelogs -i
	dh_installdocs -i
	dh_icons -i
	dh_link -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i

# Build architecture-dependent files here.
binary-arch: build install

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install