File: rules

package info (click to toggle)
gnome-objc 1.0.40-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,524 kB
  • ctags: 179
  • sloc: objc: 12,365; sh: 8,705; makefile: 409; ansic: 12
file content (66 lines) | stat: -rwxr-xr-x 1,274 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
#!/usr/bin/make -f

export DH_COMPAT=3

i=$(shell pwd)/debian/tmp
shlibver = (>=1.0.40)

build: build-stamp
build-stamp:
	dh_testdir

	./configure --prefix=/usr --with-gtk-prefix=/usr \
	  --sysconfdir=/etc

	$(MAKE) all
	touch build-stamp

clean: 
	dh_testdir
	dh_testroot
	rm -f build-stamp install-stamp

	-$(MAKE) distclean
#	distclean leaves intl behind, so we get rid of it here
	rm -rf intl
#	debhelper doesn't know about our "install" dir
	rm -rf debian/inst

	dh_clean

install: install-stamp
install-stamp: build-stamp
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

	$(MAKE) prefix=$(i)/usr exec_prefix=$(i)/usr \
	  localstatedir=$(i)/var/lib sysconfdir=$(i)/etc install
	dh_movefiles
	touch install-stamp

binary-indep:
# no binary-independent packages from this source

binary-arch: build install
#	dh_testversion
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs ChangeLog
	dh_installman -plibobgtk-dev debian/obgnome-config.1
	dh_strip
	dh_compress
	dh_fixperms
	dh_makeshlibs -plibobgtk1 -V 'libobgtk1 $(shlibver)'
	dh_makeshlibs -plibobgnome0 -V 'libobgnome0 $(shlibver)'
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

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