blob: 1740fb95489ea72f5ccf10606b9ed6584a497f7f (
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
|
#!/usr/bin/make -f
# -*- makefile -*-
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
COMMON_FLAGS= --prefix=/usr --sysconfdir=/etc/bird --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info --localstatedir=/var --runstatedir=/run/bird \
--docdir=\$${prefix}/share/bird2 \
--enable-client
CFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC
LDFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC -Wl,-z,defs -Wl,--as-needed
%:
dh $@
override_dh_auto_configure:
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_configure -- $(COMMON_FLAGS) --with-protocols=all
override_dh_auto_build-indep:
dh_auto_build -- docs
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
override_dh_installinit:
dh_installinit --name=bird --restart-after-upgrade
override_dh_installsystemd:
dh_installsystemd --name=bird --restart-after-upgrade
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
bird.8: debian/bird.xml
$(XP) $(DB2MAN) $<
override_dh_installman: bird.8
dh_installman
override_dh_clean:
dh_clean
-rm -f bird.8 birdc.8 birdcl.8
override_dh_missing:
dh_missing
override_dh_compress:
dh_compress -X.conf
|