debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | export DH_VERBOSE=1 |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | include /usr/share/dpkg/default.mk |
| 5 | export ERL_COMPILER_OPTIONS=deterministic |
| 6 | |
| 7 | DESTDIR=$(CURDIR)/debian/erlang-goldrush |
| 8 | |
| 9 | |
| 10 | %: |
| 11 | dh $@ --buildsystem=rebar --with rebar |
| 12 | |
| 13 | |
| 14 | override_dh_auto_test: |
| 15 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 16 | # Test framework is wonky, so run it but don't fail the build |
| 17 | rebar eunit || true |
| 18 | endif |