Commit 978a5544 authored by Andreas Tille's avatar Andreas Tille
Browse files

Use dh_bash-completion

parent 857edc4c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
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@debian.org>  Tue, 15 Jan 2019 12:39:47 +0100

+2 −1
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
external-tools/gnumed-completion.bash
+1 −4
Original line number Diff line number Diff line
@@ -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
@@ -40,9 +40,6 @@ override_dh_install:
	
	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
	mkdir -p $(CURDIR)/debian/$(doc)/usr/share/doc/gnumed/user-manual/rsrc/System/JavascriptFiles