File: rules

package info (click to toggle)
ocaml-afl-persistent 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 120 kB
  • sloc: ml: 101; sh: 66; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml

override_dh_auto_build:
	./build.sh

override_dh_auto_install:
	find _build/ -name "test*" -type f -delete
	dh_auto_install

override_dh_auto_test:
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
	cd test && ./test.sh
endif