diff --git a/debian/changelog b/debian/changelog index f68e0ed..077455c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ ubuntu-dev-tools (0.172) UNRELEASED; urgency=medium that it's scripts-only, so manually declare one. * Install pull-debian-source as python 3. It was ported, and doesn't work under python 2 any more. (LP: #1841127) + * Use dh_install to split the build into multiple binary packages. -- Mattia Rizzolo Fri, 23 Aug 2019 10:07:40 +0200 diff --git a/debian/python-ubuntutools.install b/debian/python-ubuntutools.install new file mode 100644 index 0000000..5ad7ef7 --- /dev/null +++ b/debian/python-ubuntutools.install @@ -0,0 +1 @@ +/usr/lib/python2.7 diff --git a/debian/python3-ubuntutools.install b/debian/python3-ubuntutools.install new file mode 100644 index 0000000..046eb9f --- /dev/null +++ b/debian/python3-ubuntutools.install @@ -0,0 +1 @@ +/usr/lib/python3.* diff --git a/debian/rules b/debian/rules index accbc51..04fac7a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,4 @@ #!/usr/bin/make -f -export PYBUILD_NAME=ubuntutools - %: dh $@ --with python2,python3 --buildsystem=pybuild - -override_dh_install: - dh_install - mkdir -p debian/ubuntu-dev-tools/usr - mv debian/python-ubuntutools/usr/bin debian/ubuntu-dev-tools/usr/ - mv debian/python-ubuntutools/usr/share debian/ubuntu-dev-tools/usr/ diff --git a/debian/ubuntu-dev-tools.install b/debian/ubuntu-dev-tools.install new file mode 100644 index 0000000..99b95ed --- /dev/null +++ b/debian/ubuntu-dev-tools.install @@ -0,0 +1,2 @@ +/usr/bin +/usr/share