File: rules

package info (click to toggle)
gtk-engines 0.12-8.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,936 kB
  • ctags: 394
  • sloc: ansic: 9,993; sh: 8,696; makefile: 212
file content (142 lines) | stat: -rwxr-xr-x 4,514 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#!/usr/bin/make -f

# debian/rules file for gtk-engines Debian package
# written January 1999 by Ben Gertzfield <che@debian.org>
# modified 1999 by Ed Boraas <ed@debian.org>


build: build-stamp
build-stamp:
	dh_testdir
	cp /usr/share/misc/config.{guess,sub} .
	./configure --prefix=/usr
	$(MAKE)
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	# Add here commands to clean up after the build process.
	-$(MAKE) clean
	-$(MAKE) distclean
	find . -name '*.o' -o -name '_libs' -o -name '*.lo' -o -name '*.a' -o \
	 -name '*.P' | xargs rm -rf
	dh_clean
	rm -f config.status config.cache

install: install-stamp
install-stamp: build
	dh_testdir
	dh_testroot
	dh_clean
	install -d debian/tmp/usr/bin
	$(MAKE) prefix=`pwd`/debian/tmp/usr install
	touch install-stamp

# Build architecture-independent files here.
binary-indep: build-stamp install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build-stamp install gtk-engines-notif gtk-engines-redmond95 gtk-engines-metal gtk-engines-raleigh gtk-engines-pixmap 

gtk-engines-pixmap: build
	dh_testdir -pgtk-engines-pixmap 
	dh_testroot -pgtk-engines-pixmap
	dh_installdirs -pgtk-engines-pixmap
	rm -rf debian/tmp/usr/bin 
	rm -rf debian/tmp/usr/share/themes/Redmond95
	rm -rf debian/tmp/usr/share/themes/Metal
	rm -rf debian/tmp/usr/share/themes/Notif
	rm -rf debian/tmp/usr/share/themes/Raleigh
#	dh_movefiles -pgtk-engines-pixmap
	dh_installdocs -pgtk-engines-pixmap
	dh_installchangelogs -pgtk-engines-pixmap ChangeLog
	dh_strip -pgtk-engines-pixmap
	dh_compress -pgtk-engines-pixmap
	dh_fixperms -pgtk-engines-pixmap
	dh_installdeb -pgtk-engines-pixmap
	dh_shlibdeps -pgtk-engines-pixmap
	dh_gencontrol -pgtk-engines-pixmap
	dh_makeshlibs -pgtk-engines-pixmap
	dh_md5sums -pgtk-engines-pixmap
	dh_builddeb -pgtk-engines-pixmap

gtk-engines-redmond95: build
	dh_testdir -pgtk-engines-redmond95 
	dh_testroot -pgtk-engines-redmond95
	dh_clean -k -pgtk-engines-redmond95
	dh_installdirs -pgtk-engines-redmond95
	dh_movefiles -pgtk-engines-redmond95
	dh_installdocs -pgtk-engines-redmond95
	dh_installchangelogs -pgtk-engines-redmond95 ChangeLog
	dh_strip -pgtk-engines-redmond95
	dh_compress -pgtk-engines-redmond95
	dh_fixperms -pgtk-engines-redmond95
	dh_installdeb -pgtk-engines-redmond95
	dh_shlibdeps -pgtk-engines-redmond95
	dh_gencontrol -pgtk-engines-redmond95
	dh_makeshlibs -pgtk-engines-redmond95
	dh_md5sums -pgtk-engines-redmond95
	dh_builddeb -pgtk-engines-redmond95

gtk-engines-notif: build
	dh_testdir -pgtk-engines-notif 
	dh_testroot -pgtk-engines-notif
	dh_clean -k -pgtk-engines-notif
	dh_installdirs -pgtk-engines-notif
	dh_movefiles -pgtk-engines-notif
	dh_installdocs -pgtk-engines-notif
	dh_installchangelogs -pgtk-engines-notif ChangeLog
	dh_strip -pgtk-engines-notif
	dh_compress -pgtk-engines-notif
	dh_fixperms -pgtk-engines-notif
	dh_installdeb -pgtk-engines-notif
	dh_shlibdeps -pgtk-engines-notif
	dh_gencontrol -pgtk-engines-notif
	dh_makeshlibs -pgtk-engines-notif
	dh_md5sums -pgtk-engines-notif
	dh_builddeb -pgtk-engines-notif

gtk-engines-metal: build
	dh_testdir -pgtk-engines-metal 
	dh_testroot -pgtk-engines-metal
	dh_clean -k -pgtk-engines-metal
	dh_installdirs -pgtk-engines-metal
	dh_movefiles -pgtk-engines-metal
	dh_installdocs -pgtk-engines-metal
	dh_installchangelogs -pgtk-engines-metal ChangeLog
	dh_strip -pgtk-engines-metal
	dh_compress -pgtk-engines-metal
	dh_fixperms -pgtk-engines-metal
	dh_installdeb -pgtk-engines-metal
	dh_shlibdeps -pgtk-engines-metal
	dh_gencontrol -pgtk-engines-metal
	dh_makeshlibs -pgtk-engines-metal
	dh_md5sums -pgtk-engines-metal
	dh_builddeb -pgtk-engines-metal

gtk-engines-raleigh: build
	dh_testdir -pgtk-engines-raleigh
	dh_testroot -pgtk-engines-raleigh
	dh_clean -k -pgtk-engines-raleigh
	dh_installdirs -pgtk-engines-raleigh
	dh_movefiles -pgtk-engines-raleigh
	dh_installdocs -pgtk-engines-raleigh
	dh_installchangelogs -pgtk-engines-raleigh ChangeLog
	dh_strip -pgtk-engines-raleigh
	dh_compress -pgtk-engines-raleigh
	dh_fixperms -pgtk-engines-raleigh
	dh_installdeb -pgtk-engines-raleigh
	dh_shlibdeps -pgtk-engines-raleigh
	dh_gencontrol -pgtk-engines-raleigh
	dh_makeshlibs -pgtk-engines-raleigh
	dh_md5sums -pgtk-engines-raleigh
	dh_builddeb -pgtk-engines-raleigh

source diff:                                                                  
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

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