blob: 5a635a9f1a02ce5c9c6516474afdfd31c8787c3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/make -f
%:
dh ${@} --buildsystem=pybuild
execute_after_dh_auto_install:
# bash-completion
mkdir -p debian/gita/usr/share/bash-completion/completions
cp .gita-completion.bash debian/gita/usr/share/bash-completion/completions/gita
# manpage
mkdir -p debian/gita/usr/share/man/man1
PYTHONPATH=debian/gita/usr/lib/$$(py3versions -d)/dist-packages \
help2man --no-discard-stderr --name 'Manage many git repos' \
debian/gita/usr/bin/gita > debian/gita/usr/share/man/man1/gita.1
override_dh_auto_test:
# disabled
|