Use not-installed instead of fiddling in debian/rules.
@@ -1,2 +1,3 @@
+usr/lib/*/*.la
usr/share/licenses/jose/COPYING
@@ -10,8 +10,5 @@ include /usr/share/dpkg/buildflags.mk
override_dh_auto_install:
dh_auto_install
- # Remove useless files
- rm -f debian/tmp/usr/lib/*/*.la
-
override_dh_missing:
dh_missing --fail-missing