debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOPKG := nex |
| 4 | export DH_GOLANG_INSTALL_ALL := 1 |
| 5 | export DH_GOLANG_EXCLUDES := nex/tacky |
| 6 | |
| 7 | %: |
| 8 | dh $@ --buildsystem=golang --with=golang |
| 9 | |
| 10 | override_dh_auto_test: |
| 11 | @echo "Tests are disabled for now" |
| 12 | |
| 13 | override_dh_auto_install: |
| 14 | dh_auto_install |
| 15 | mv debian/tmp/usr/bin/nex debian/tmp/usr/bin/nex-lexer |