# HG changeset patch # User Denis Laxalde # Date 1479398909 -3600 # Node ID 21c72857178f285f4cce907fdf3b87473b6e9c0f # Parent fafdb7f1e8889a7d664582fd5bab373ae0b45622 [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. diff -r fafdb7f1e888 -r 21c72857178f debian/cubicweb-ctl.install --- 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 diff -r fafdb7f1e888 -r 21c72857178f debian/python-cubicweb.install --- 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/ diff -r fafdb7f1e888 -r 21c72857178f debian/rules --- 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