[med-svn] [Git][med-team/gnumed-client][master] Use dh_bash-completion
Andreas Tille
gitlab at salsa.debian.org
Tue Jan 15 13:29:14 GMT 2019
Andreas Tille pushed to branch master at Debian Med / gnumed-client
Commits:
978a5544 by Andreas Tille at 2019-01-15T13:29:01Z
Use dh_bash-completion
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/gnumed-client.bash-completion
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,9 @@
gnumed-client (1.7.4+dfsg-3) UNRELEASED; urgency=medium
+ * Use dh_bash-completion
+ FIXME: untested
* TODO: https://appstream.debian.org/sid/main/issues/gnumed-client.html
+ (verbessert: appdata.xml)
-- Andreas Tille <tille at debian.org> Tue, 15 Jan 2019 12:39:47 +0100
=====================================
debian/control
=====================================
@@ -11,7 +11,8 @@ Build-Depends: debhelper (>= 12~),
dh-linktree,
libjs-jquery,
libjs-jquery-livequery,
- yui-compressor
+ yui-compressor,
+ bash-completion
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/gnumed-client
Vcs-Git: https://salsa.debian.org/med-team/gnumed-client.git
=====================================
debian/gnumed-client.bash-completion
=====================================
@@ -0,0 +1 @@
+external-tools/gnumed-completion.bash
=====================================
debian/rules
=====================================
@@ -3,7 +3,7 @@
# Andreas Tille, GPL
%:
- dh $@ --with python2 --with linktree
+ dh $@ --with python2 --with linktree --with bash-completion
pkg=gnumed
client=$(pkg)-client
@@ -39,9 +39,6 @@ override_dh_install:
find debian -name __pycache__ -type d | xargs rm -rf
find debian -name xtest.py -delete
-
- mkdir -p debian/$(client)/usr/share/bash-completion/completions
- sed '/^#!\/bin\/bash/d' external-tools/gnumed-completion.bash > debian/$(client)/usr/share/bash-completion/completions/gnumed
override_dh_installdocs:
dh_installdocs
View it on GitLab: https://salsa.debian.org/med-team/gnumed-client/commit/978a5544a9da7b2293eb31469f6e133eb5f845d0
--
View it on GitLab: https://salsa.debian.org/med-team/gnumed-client/commit/978a5544a9da7b2293eb31469f6e133eb5f845d0
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190115/3277631c/attachment-0001.html>
More information about the debian-med-commit
mailing list