blob: a8f17541d9408420db7fef59a7898ab382525463 (
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
|
#!/usr/bin/make -f
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
LDFLAGS+=-Wl,--as-needed
%:
dh $@ --with scour
# Fixes FTBFS
override_dh_auto_test:
# Autoreconf due to 01_lpi.patch
override_dh_auto_configure:
[ -e gnome-doc-utils.make ] || \
ln -s /usr/share/gnome-doc-utils/gnome-doc-utils.make
autoreconf -f -i -s
dh_auto_configure
override_dh_auto_build:
cd po; intltool-update -p
dh_auto_build
override_dh_strip:
dh_strip -psimple-scan --dbg-package=simple-scan
override_dh_auto_install
dh_auto_install --destdir=debian/simple-scan
override_dh_installdocs:
dh_installdocs --link-doc=simple-scan
|