File: rules

package info (click to toggle)
gartoon 0.5-4.1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 9,124 kB
  • sloc: makefile: 36; sh: 8
file content (48 lines) | stat: -rwxr-xr-x 1,565 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
43
44
45
46
47
48
#!/usr/bin/make -f
# -*- makefile -*-
# Makefile to build gartoon icon theme package

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

build:
clean:
	dh_testdir
	dh_clean 

install: build
	dh_testdir
	dh_testroot
#	dh_clean -k 
	dh_installdirs

	cp -r index.theme scalable debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/
	mv debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/mimetypes/gnome-mime-application-x-phyton.svg \
       debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/mimetypes/gnome-mime-application-x-python.svg
	mv debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/stock/gtk-goto-first-ltr.svg \
       debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/stock/gtk-goto-first-BLAH.svg
	mv debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/stock/gtk-goto-first-rtl.svg \
       debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/stock/gtk-goto-first-ltr.svg
	mv debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/stock/gtk-goto-first-BLAH.svg \
       debian/gnome-icon-theme-gartoon/usr/share/icons/gartoon/scalable/stock/gtk-goto-first-rtl.svg

binary-arch:
binary-indep: build install
	find debian/gnome-icon-theme-gartoon/usr/share -type f -exec chmod 644 {} \;
	dh_testdir
	dh_testroot
	dh_installchangelogs 
	dh_installdocs
	dh_install
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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