Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
5 export DEB_PYTHON_INSTALL_LAYOUT = deb
6
7 ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
8 BUILD_PACKAGES += -Nlibblockdev-mpath-dev -Nlibblockdev-mpath3 -Nlibblockdev-plugins-all
9 endif
10
11
12 %:
13 dh $@ $(BUILD_PACKAGES)
14
15 override_dh_auto_configure:
16 dh_auto_configure -- \
17 --disable-tests \
18 --without-smartmontools \
19 --without-s390 \
20 $(CONF_FLAGS)
21
22 execute_before_dh_install:
23 find debian -name '*.la' -print -delete
24
25 override_dh_makeshlibs:
26 dh_makeshlibs -- -c4