debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | %: |
| 3 | dh $@ --with python3 --buildsystem=pybuild |
| 4 | |
| 5 | # Install the module as private. |
| 6 | override_dh_auto_install: |
| 7 | python3 setup.py install --no-compile \ |
| 8 | --root=debian/apt-forktracer \ |
| 9 | --install-layout=deb \ |
| 10 | --install-scripts=/usr/bin \ |
| 11 | --install-lib=/usr/share/apt-forktracer |
| 12 | rm -rf debian/apt-forktracer/usr/share/apt-forktracer/apt_forktracer-*.egg-info |
| 13 | |
| 14 | execute_after_dh_auto_clean: |
| 15 | rm -rf lib/apt_forktracer.egg-info |