File: rules

package info (click to toggle)
approx 5.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 340 kB
  • sloc: ml: 2,220; sh: 42; makefile: 32
file content (12 lines) | stat: -rwxr-xr-x 197 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

%:
	dh $@ --with ocaml --no-parallel

ifeq ($(wildcard /usr/bin/ocamlopt),)
override_dh_auto_build:
	$(MAKE) TARGET=byte

override_dh_auto_test:
	$(MAKE) TARGET=byte test
endif