[debian] Rework split of cubicweb-ctl package
It does not appear simple to have the .install files work. So just copy
cubicweb-ctl script in DESDIR of cubicweb-ctl binary package and remove
.install files.
Related to #16133259.
--- a/debian/cubicweb-ctl.install Fri Nov 18 09:14:25 2016 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-usr/bin/cubicweb-ctl
--- a/debian/python-cubicweb.install Fri Nov 18 09:14:25 2016 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-usr/lib/python2*/*-packages/cubicweb/*
-usr/share/cubicweb/cubes/
--- a/debian/rules Fri Nov 18 09:14:25 2016 +0100
+++ b/debian/rules Thu Nov 17 17:08:29 2016 +0100
@@ -19,8 +19,10 @@
PYTHONPATH=. sphinx-build -N -bhtml doc/ debian/cubicweb-doc/html
endif
-override_dh_install:
- dh_install --sourcedir=debian/python-${PYBUILD_NAME}
+override_dh_auto_install:
+ dh_auto_install
+ mv debian/python-${PYBUILD_NAME}/usr/bin/cubicweb-ctl \
+ debian/cubicweb-ctl/usr/bin/cubicweb-ctl
override_dh_installchangelogs:
dh_installchangelogs -Xdoc/changes