Skip to content
Snippets Groups Projects
Commit b0fb4eb9 authored by Félix Sipma's avatar Félix Sipma
Browse files

Generate and install bash-completion file. (Closes: #872174) Thanks, Michael Biebl.

parent 7c984126
Branches
Tags debian/0.7.3+debian0-1
No related merge requests found
......@@ -11,6 +11,8 @@ restic (0.7.3+debian0-1) unstable; urgency=medium
* upgrade standard-version to 4.1.0
- convert deprecated "extra" priority to "optional"
* ignore all files in vendor/ dir
* Generate and install bash-completion file. (Closes: #872174). Thanks,
Michael Biebl.
-- Félix Sipma <felix+debian@gueux.org> Tue, 26 Sep 2017 10:49:19 +0200
......
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
export DH_OPTIONS
# Install everything, for testdata/ directories:
export DH_GOLANG_INSTALL_ALL := 1
......@@ -21,3 +23,7 @@ override_dh_auto_build:
# it is not intended to be used as a library right now.
override_dh_auto_install:
dh_auto_install -- --no-source
ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
install -d debian/restic/usr/share/bash-completion/completions
debian/restic/usr/bin/restic autocomplete --completionfile debian/restic/usr/share/bash-completion/completions/restic
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment