debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | %: |
| 7 | dh $@ --builddirectory=_build --buildsystem=golang |
| 8 | |
| 9 | override_dh_auto_build: |
| 10 | dh_auto_build -- $(BUILDFLAGS) |
| 11 | # Rename the binary to match the debian package. |
| 12 | mv -v _build/bin/ergo-ldap _build/bin/ergochat-ldap |
| 13 | |
| 14 | override_dh_auto_install: |
| 15 | dh_auto_install -- --no-source |