Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 export PYBUILD_NAME=goobook
7
8 # Python applications should have their module private
9 # These modules should be installed in /usr/share/<module-name>
10 export PYBUILD_INSTALL_DIR=/usr/share/goobook/
11
12 # Scripts should be installed to the same (private) directory.
13 export PYBUILD_AFTER_INSTALL=\
14 mv {destdir}/usr/bin/goobook {destdir}/usr/share/goobook/run
15
16
17 %:
18 dh $@ --with python3 --buildsystem=pybuild
19
20 .PHONY: override_dh_auto_build
21 override_dh_auto_build:
22 dh_auto_build
23 mkdir -p build
24 rst2man --strict goobook.1.rst build/goobook.1