blob: 500ea2e69d1c21d3af0884ae8d1020919158b1bb (
plain)
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
|
#!/usr/bin/make -f
#
# 2014-07-22 Jörg Frings-Fürst <debian@jff-webhosting.net>
#
# - enable hardening
# - install NEWS as upstream changelog
#
# 2015-01-19 Jörg Frings-Fürst <debian@jff-webhosting.net>
#
# - remove old style hardening.
# - remove useless comments.
#
# 2015-04-29 Jörg Frings-Fürst <debian@jff-webhosting.net>
#
# - remove override_dh_auto_test
#
#
# Hardening
#
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#
# Test for gcc-6 support
#
#export CC=gcc-6
#export CXX=g++-6
#CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
#LDLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
#export CXXFLAGS+= -std=c++98
#export LDFLAGS += -fPIC
#
# end of gcc-6 test
#
%:
dh $@ --with=autoreconf,scour
# Autoreconf due to 01_lpi.patch
override_dh_autoreconf:
[ -e gnome-doc-utils.make ] || \
ln -s /usr/share/gnome-doc-utils/gnome-doc-utils.make
dh_autoreconf
override_dh_auto_clean:
dh_auto_clean
[ ! -h gnome-doc-utils.make ] || \
rm gnome-doc-utils.make
override_dh_auto_build:
# cd po; intltool-update -p
dh_auto_build
override_dh_strip:
dh_strip -psimple-scan --dbg-package=simple-scan-dbg
override_dh_installdocs:
dh_installdocs --link-doc=simple-scan
override_dh_installchangelogs:
dh_installchangelogs NEWS
|