File: rules

package info (click to toggle)
ganv 1.4.2~dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,276 kB
  • ctags: 2,655
  • sloc: python: 12,783; ansic: 5,830; cpp: 3,981; sh: 214; makefile: 29
file content (40 lines) | stat: -rwxr-xr-x 710 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
#!/usr/bin/make -f

export LDFLAGS+=-Wl,--as-needed
WAF = ./waf

export REPACK_SH=$(CURDIR)/debian/repack.sh

%:
	dh $@

override_dh_auto_configure:
	$(WAF) configure \
		--prefix=/usr \
		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--mandir=/usr/share/man \
		--strict \
		--gir \
		--debug

override_dh_auto_build:
	$(WAF)

override_dh_auto_clean:
	$(WAF) clean || true
	find -name "*.pyc" -delete
	rm -rf build .waf*
	dh_auto_clean

override_dh_auto_install:
	$(WAF) install --destdir=$(CURDIR)/debian/tmp/

override_dh_shlibdeps:
	dh_shlibdeps
	dh_girepository -l src:debian/libganv-dev/usr/share/gir-1.0

override_dh_installchangelogs:
	dh_installchangelogs NEWS

get-orig-source:
	uscan --force-download