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 DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+fixfilepath
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@
override_dh_auto_test:
# Tests require Python "rmtest" which is not in Debian.
override_dh_installdocs:
dh_installdocs
rm -f ./debian/redis-redisearch-doc/usr/share/doc/redis-redisearch-doc/docs/CNAME
override_dh_fixperms:
dh_fixperms
# Redis modules require executable permissions, otherwise redis-server
# will refuse to start. (#989385)
find debian/ -name redisearch.so -print0 | xargs -0r chmod +x
override_dh_compress:
dh_compress -X.md
|