New changelog entries:
* debian/python-libxslt1-dbg.preinst: Add preinst snippet to remove
/usr/share/doc/python-libxslt1-dbg symlink on Ubuntu. This is an
Ubuntu-only fix, but allows Ubuntu to just use the Debian package
without further modifications.
Closes: #587910

New changelog entries:
* debian/compat: Switch to debhelper compat level 7.
* debian/control: Build depend on debhelper >= 7.0.50~.
* debian/rules:
+ Remove old source and diff rules. They only displayed a message
inviting to use dpkg-source -b.
+ Remove workarounds for modified and deleted files. The modified file
is not modified anymore, and as we're not using svn-buildpackage we
also don't care about deleted files anymore.
+ Trust dpkg-buildpackage to set the CFLAGS.
+ Change the way python libs are built. We now use configure to set
different environment with and without python, and arrange things so
that we don't have to build the base libxslt library several times.
+ Use a common cache for main and python configure passes.
+ Modify libexslt.la in place in debian/tmp.
+ Switch to dh.
+ Deduplicate in /usr/lib/pyshared, not
/usr/lib/python-support/python-libxslt1.
* debian/python-libxslt1.install: Install python files from
/usr/lib/python*/dist-packages.
* python/Makefile.am, python/Makefile.in, python/generator.py: Don't
generate python API intermediate files in $srcdir.
* debian/libxslt1-dev.install: Install libexslt.la with dh_install.