debian: include bash completions in mercurial-common
authorAugie Fackler <augie@google.com>
Tue, 22 Sep 2015 14:47:18 -0400
changeset 26300 f946c1260035
parent 26299 79e1064f7c5e
child 26301 3f8c5c284c86
debian: include bash completions in mercurial-common
contrib/debian/rules
--- a/contrib/debian/rules	Tue Sep 22 14:32:17 2015 -0400
+++ b/contrib/debian/rules	Tue Sep 22 14:47:18 2015 -0400
@@ -31,4 +31,6 @@
 	cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial
 	mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
 	cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
+	mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions
+	cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/mercurial
 	rm $(CURDIR)/debian/mercurial-common/usr/bin/hg