Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7
8 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
9
10 ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),armel mips mipsel))
11 CONFIG_OPTS = --enable-single-precision
12 else
13 CONFIG_OPTS = --enable-double-precision
14 endif
15
16 CONFIG_OPTS += --mandir=/usr/share/man \
17 --with-libccd=system \
18 --enable-libccd \
19 --enable-shared \
20 --enable-static \
21 --with-box-cylinder=default
22
23 %:
24 dh $@
25
26 override_dh_auto_configure:
27 dh_auto_configure -- $(CONFIG_OPTS)
28
29 override_dh_auto_build:
30 dh_auto_build
31 docbook-to-man debian/ode-config.man.sgml > debian/ode-config.1