diff options
author | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2022-04-08 14:49:11 +0200 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2022-04-08 14:49:11 +0200 |
commit | ad78d581611c0f065d094e2d260432e0f3387ad5 (patch) | |
tree | f385e2e9dc15717eb8398ab3f4589d20fc473983 | |
parent | e8d60ff9ec9fa842f32ac09edb3d5df576533251 (diff) |
debian/rules: use execute_{before,after}_dh_*
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index afa4362..57e9340 100755 --- a/debian/rules +++ b/debian/rules @@ -8,10 +8,8 @@ export img2pdfprog = $(CURDIR)/src/img2pdf.py %: dh $@ --with python3 --buildsystem=pybuild -override_dh_auto_clean: +execute_before_dh_auto_clean: rm -f img2pdf.1 - dh_auto_clean -override_dh_auto_build: - dh_auto_build +execute_after_dh_auto_build: help2man --no-info --name="lossless conversion of raster images to pdf" ./src/img2pdf.py | sed -e 's/\.py//ig;' > img2pdf.1 |