debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=nexusformat |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild |
| 7 | |
| 8 | execute_after_dh_auto_install: |
| 9 | mv debian/python3-nexusformat/usr/bin/nxdir debian/python3-nexusformat/usr/bin/nxdir-python |
| 10 | |
| 11 | execute_after_dh_fixperms: |
| 12 | find $(CURDIR)/debian/python3-nexusformat/usr/lib/python*/dist-packages/ -type f -exec chmod a-x {} + |