1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export DH_VERBOSE = 1
VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
MAN_NAME_SECTION="Generate coverage reports for OCaml and Reason."
include /usr/share/ocaml/ocamlvars.mk
%:
dh $@ --with ocaml --buildsystem ocaml_dune
execute_before_dh_auto_build:
uglifyjs -m -c -o src/vendor/highlight.js/highlight.pack.js \
debian/missing-sources/highlight.js
# missing one package for tests
override_dh_auto_test:
execute_after_dh_auto_install:
help2man $(CURDIR)/debian/tmp/usr/bin/bisect-ppx-report --name=$(MAN_NAME_SECTION) --version-string=$(VERSION) > debian/bisect-ppx-report.1
perl -i -pe 's/\?\?\?/... /g' debian/bisect-ppx-report.1
override_dh_dwz:
dh_dwz --no-dwz-multifile
|