File: rules

package info (click to toggle)
hildon-icons 2.1.debian-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,684 kB
  • ctags: 4
  • sloc: sh: 69; makefile: 30
file content (39 lines) | stat: -rwxr-xr-x 935 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
#!/usr/bin/make -f

build:

clean:
	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