3 DH_OPTIONS = --parallel -Bdebian/build
4 export LC_ALL = C.UTF-8
6 ###--------------------------------------------------------------------------
9 cgiexecdir = /usr/lib/cgi-bin
11 browser = sensible-browser
13 override_dh_auto_configure:
14 [ -f configure ] || ./autogen.sh
15 dh_auto_configure -- \
17 --localstatedir="/var/lib" \
18 --with-browser="$(browser)" \
19 cgiexecdir="$(cgiexecdir)" \
22 ###--------------------------------------------------------------------------
25 ## We override sendmail to the value defined in policy, in case configure
26 ## picks up some other sendmail.
27 SENDMAIL = /usr/sbin/sendmail
29 override-dh_auto_build:
31 SENDMAIL="$(SENDMAIL)"
33 ###--------------------------------------------------------------------------
36 ## Arrange for some packages to have /usr/share/doc/PKG be a symlink to
37 ## `disorder'. The others have proper docs directories, for now.
38 DOCLINK_PKGS = disorder-server disobedience
39 override_dh_installdocs:
40 dh_installdocs $(addprefix -p, $(DOCLINK_PKGS)) --link-doc=disorder
41 dh_installdocs $(addprefix -N, $(DOCLINK_PKGS))
43 ###--------------------------------------------------------------------------
44 ### Set up the proper dependencies for `disorder-gstreamer'.
46 override_dh_gencontrol:
47 dh_gencontrol -- -Tdebian/build/debian/substvars.auto
49 ###--------------------------------------------------------------------------
50 ### And just let Debhelper do the rest of the work.
52 %:; dh $@ $(DH_OPTIONS)