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
|
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
include /usr/share/dpkg/buildtools.mk
# Fix FTBFS on kfreebsd-* architectures
# https://github.com/tavianator/bfs/issues/56
ifneq (,$(filter kfreebsd,$(DEB_HOST_ARCH_OS)))
export DEB_CFLAGS_MAINT_APPEND = -DBFS_HAS_SYS_EXTATTR=0
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_configure:
./configure 'CC=$(CC)'
override_dh_auto_test:
ifneq ($(shell id -u),0)
dh_auto_test
endif
override_dh_installchangelogs:
dh_installchangelogs docs/CHANGELOG.md
|