| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
export PYBUILD_NAME=jube |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ --with python3 --buildsystem=pybuild |
| 10 |
|
| 11 |
override_dh_compress: |
| 12 |
find debian/jube -name \*.xml | xargs -r chmod a-x |
| 13 |
dh_compress -X/platform/ |
| 14 |
|
| 15 |
execute_before_dh_installdeb: |
| 16 |
hardlink -v -t debian/jube/usr/share/doc/jube |
| 17 |
|
| 18 |
execute_after_dh_auto_clean: |
| 19 |
$(RM) -r *.egg-info/ |
| 20 |
|
| 21 |
|
| 22 |
# only executed manually |
| 23 |
debian/jube.1: |
| 24 |
PYTHONPATH=. help2man --no-info --no-discard-stderr bin/jube > $@ |
| 25 |
|
| 26 |
# only executed manually |
| 27 |
debian/jube-autorun.1: |
| 28 |
help2man --no-info bin/jube-autorun > $@ |