debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=jsbeautifier |
| 4 | |
| 5 | d = $(CURDIR)/debian/jsbeautifier/usr/bin |
| 6 | export PYBUILD_AFTER_INSTALL_python3 = mkdir -pv $d && mv -v {destdir}/usr/bin/js-beautify $d/js-beautify-py |
| 7 | |
| 8 | %: |
| 9 | dh $@ --with python3 --buildsystem=pybuild |
| 10 | |
| 11 | override_dh_auto_test: |
| 12 | dh_auto_test -- --test-unittest |