Move bash_completion from /etc to /usr/share.

* Move bash_completion from /etc to /usr/share.
  - Stop using dh_bash-completion. It still installs files to /etc and
    dh_install works just fine.
ci/unstable
Felix Geyer 10 years ago
parent cb8ba5d864
commit 6a3df7db44

8
debian/changelog vendored

@ -1,3 +1,11 @@
cmake (3.2.2-3) UNRELEASED; urgency=medium
* Move bash_completion from /etc to /usr/share.
- Stop using dh_bash-completion. It still installs files to /etc and
dh_install works just fine.
-- Felix Geyer <fgeyer@debian.org> Sat, 30 May 2015 13:56:37 +0200
cmake (3.2.2-2) unstable; urgency=medium cmake (3.2.2-2) unstable; urgency=medium
* Make cmake.bash-completion use wildcards for the minor version * Make cmake.bash-completion use wildcards for the minor version

@ -1,3 +0,0 @@
debian/tmp/usr/share/cmake-3.*/completions/cmake
debian/tmp/usr/share/cmake-3.*/completions/cpack
debian/tmp/usr/share/cmake-3.*/completions/ctest

@ -4,3 +4,6 @@ usr/bin/ctest
usr/share/man/man1/cmake.1 usr/share/man/man1/cmake.1
usr/share/man/man1/cpack.1 usr/share/man/man1/cpack.1
usr/share/man/man1/ctest.1 usr/share/man/man1/ctest.1
usr/share/cmake-*/completions/cmake usr/share/bash-completion/completions/
usr/share/cmake-*/completions/cpack usr/share/bash-completion/completions/
usr/share/cmake-*/completions/ctest usr/share/bash-completion/completions/

@ -1,2 +1,5 @@
symlink_to_dir /usr/share/doc/cmake /usr/share/doc/cmake-data 2.8.12.2-2~ symlink_to_dir /usr/share/doc/cmake /usr/share/doc/cmake-data 2.8.12.2-2~
rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~
rm_conffile /etc/bash_completion.d/cmake 3.2.2-3~
rm_conffile /etc/bash_completion.d/cpack 3.2.2-3~
rm_conffile /etc/bash_completion.d/ctest 3.2.2-3~

3
debian/control vendored

@ -7,8 +7,7 @@ Uploaders: A. Maitland Bottoms <bottoms@debian.org>,
Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>, Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>,
Felix Geyer <fgeyer@debian.org>, Felix Geyer <fgeyer@debian.org>,
Mario Lang <mlang@debian.org> Mario Lang <mlang@debian.org>
Build-Depends: bash-completion, Build-Depends: debhelper (>= 9.20131104),
debhelper (>= 9.20131104),
libarchive-dev (>= 2.8.0), libarchive-dev (>= 2.8.0),
libbz2-dev, libbz2-dev,
libcurl4-openssl-dev | libcurl-ssl-dev, libcurl4-openssl-dev | libcurl-ssl-dev,

2
debian/rules vendored

@ -64,6 +64,6 @@ override_dh_sphinxdoc:
dh_sphinxdoc -pcmake-doc dh_sphinxdoc -pcmake-doc
%: %:
dh $@ --with=bash-completion,sphinxdoc --parallel --builddirectory=Build --dbg-package=cmake-dbg dh $@ --with=sphinxdoc --parallel --builddirectory=Build --dbg-package=cmake-dbg
.PHONY: override_dh_auto_configure override_dh_auto_clean .PHONY: override_dh_auto_configure override_dh_auto_clean

Loading…
Cancel
Save