Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # set img2pdf location for pytest run by dh_auto_test
4 # we cannot use the version copied by pybuild into
5 # .pybuild/cpython3_3.8/build because that has the executable bit removed
6 export img2pdfprog = $(CURDIR)/src/img2pdf.py
7
8 %:
9 dh $@ --with python3 --buildsystem=pybuild
10
11 execute_before_dh_auto_clean:
12 rm -f img2pdf.1
13
14 execute_after_dh_auto_build:
15 help2man --no-info --name="lossless conversion of raster images to pdf" ./src/img2pdf.py | sed -e 's/\.py//ig;' > img2pdf.1