diff options
author | Stephane Glondu <steph@glondu.net> | 2019-08-08 07:20:25 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2019-08-08 07:20:25 +0200 |
commit | 380831dbb2114a77ee2ec8ab15c35553da6e9efe (patch) | |
tree | 6c3483acfff08a047152e46ae444de85c7f5cf74 | |
parent | 09a377df95531ecc26c6d88ece7a753fbba19dd2 (diff) |
Override "dune build" invocation
As suggested in https://github.com/janestreet/sexplib0/issues/2
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 47a2000..51ac126 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,9 @@ DESTDIR=$(CURDIR)/debian/tmp %: dh $@ --with ocaml +override_dh_auto_build: + dune build -p sexplib0 + override_dh_auto_install: dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) rm -f $(DESTDIR)/usr/doc/sexplib0/LICENSE.md |