I'm not sure whether the Debian packager would be too happy about the simplified rules file -- there seem to be some rather specific entries and while the package builds successfully with the 2-line-rules, during build I get a lot of warnings like
dpkg-shlibdeps: warning: dependency on libz.so.1 could be avoided if "debian/libpstoedit0c2a/usr/lib/pstoedit/libp2edrvlplot.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libXt.so.6 could be avoided if "debian/libpstoedit0c2a/usr/lib/pstoedit/libp2edrvlplot.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
...
I'm not sure whether the Debian packager would be too happy about the simplified rules file -- there seem to be some rather specific entries and while the package builds successfully with the 2-line-rules, during build I get a lot of warnings like
dpkg-shlibdeps: warning: dependency on libz.so.1 could be avoided if "debian/ libpstoedit0c2a /usr/lib/ pstoedit/ libp2edrvlplot. so.0.0. 0" were not uselessly linked against it (they use none of its symbols). libpstoedit0c2a /usr/lib/ pstoedit/ libp2edrvlplot. so.0.0. 0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libXt.so.6 could be avoided if "debian/
...
PS: Thanks for the fast sponsoring!