File: rules

package info (click to toggle)
dee 1.0.10-3.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,112 kB
  • sloc: ansic: 19,228; sh: 11,413; makefile: 397; python: 155; xml: 40
file content (33 lines) | stat: -rwxr-xr-x 731 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh --with python2 --with autoreconf $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-gtk-doc

override_dh_install:
	rm debian/tmp/usr/lib/*.la
	rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc
	rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyo
	dh_install --fail-missing
	dh_python2 -pgir1.2-dee-1.0

override_dh_gencontrol:
	dh_girepository
	dh_gencontrol

override_dh_strip:
	dh_strip --dbg-package=libdee-1.0-4-dbg

override_dh_auto_test:

.PHONY: override_dh_strip