Drop override_dh_compress.
[debian/mimetic.git] / debian / rules
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 %:
6         dh $@
7
8 override_dh_auto_build-indep:
9 ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS))$(filter nodoc,$(DEB_BUILD_PROFILES)),)
10         $(MAKE) -C $(CURDIR)/doc docs
11 endif
12
13 override_dh_installexamples:
14         dh_installexamples
15         sed -i -e "s,$(CURDIR),/<<PKGBUILDDIR>>,g" $(CURDIR)/debian/libmimetic-doc/usr/share/doc/libmimetic-dev/examples/Makefile
16
17 override_dh_strip:
18         dh_strip --dbgsym-migration='libmimetic0-dbg (<< 0.9.8-3~)'
19
20 override_dh_makeshlibs:
21         # For new symbols when compiled with GCC 7
22         dh_makeshlibs -V'libmimetic0v5 (>= 0.9.8-6~)'