1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# Disable fixfilepath, as it causes build failures.
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -Skf6 -- -DENABLE_REPRODUCIBLE=ON -DENABLE_VECTOR_BLF=OFF
override_dh_auto_test:
# non-fatal, as tests fail on almost non-amd64 archs
-xvfb-run dh_auto_test
execute_after_dh_auto_install:
# remove symlinks of private libraries
find debian/tmp -name '*.so' -type l -print -delete
# remove development headers
rm -rfv debian/tmp/usr/include/
# remove cmake config
rm -rfv debian/tmp/usr/lib/*/cmake/
|