File: rules

package info (click to toggle)
ocaml-multicore-magic 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 300 kB
  • sloc: ml: 596; sh: 60; ansic: 8; makefile: 7; javascript: 6
file content (12 lines) | stat: -rwxr-xr-x 284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml --buildsystem ocaml_dune

execute_after_dh_ocamlinit:
	if ! dpkg --compare-versions $(OCAML_ABI) lt 5.4.0; then \
	  sed -i /stublibs/d debian/libmulticore-magic-ocaml.install; \
	fi