Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 export PYBUILD_NAME=salt-pepper
6
7 %:
8 dh $@ --buildsystem=pybuild --shebang=/usr/bin/python3
9
10 override_dh_auto_build:
11 dh_auto_build
12 # Generate man page
13 PYTHONPATH=. help2man -n "Tool to access a salt-api instance" \
14 --version-string=$(DEB_VERSION) "python3 scripts/pepper" \
15 | sed -E -e 's,(\s|^|\")pepper,\1salt-pepper,g' -e 's,PEPPER\ \"1\",SALT-PEPPER\ \"1\",g' \
16 > debian/salt-pepper.1
17
18 override_dh_auto_install:
19 dh_auto_install
20 mv debian/salt-pepper/usr/bin/pepper debian/salt-pepper/usr/bin/salt-pepper