--- a/debian/rules 2019-04-03 07:14:51.315666561 +0200 --- b/debian/rules 2019-04-03 07:26:31.272963611 +0200 @@ -41,6 +41,11 @@ dh_auto_install find debian -name '*.la' -delete +override_dh_installexamples: + sed -i -e 's@ [^ ]*-f\(file\|debug\)-prefix-map=[^ ]*@@g' \ + $(DESTDIR)/usr/share/coda/fortran/Makefile + dh_installexamples + override_dh_auto_clean: rm -f config.log rm -f $(patsubst %, debian/%, ${AUTOGENERATED})