1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/ocaml/ocamlvars.mk
%:
dh $@ --with ocaml
execute_after_dh_auto_clean:
rm -rf _run
override_dh_auto_build:
dune build -p belenios-platform,belenios-platform-native,belenios-lib,belenios-tool
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
$(MAKE) doc
endif
_build/install/default/bin/belenios-tool --help=groff > debian/belenios-tool.1
override_dh_auto_install:
dune install --destdir=debian/tmp --prefix=/usr belenios-tool
|