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
|
#!/usr/bin/make -f
#export DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# FIXME: workaround build failure with gcc 14 until upstream until
# upstream resolves [1].
#
# [1]: https://github.com/nh13/DWGSIM/issues/88
export DEB_CFLAGS_MAINT_APPEND = -Wno-error=incompatible-pointer-types
%:
dh $@
override_dh_auto_build:
sed -i 's/occour/occur/' src/dwgsim_opt.c
sed -i 's/occour/occur/' debian/dwgsim.1
dh_auto_build
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ln -s /usr/share/doc/samtools/examples samtools
dh_auto_test
endif
|