File: rules

package info (click to toggle)
coq-quickchick 2.1.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,432 kB
  • sloc: ml: 4,367; ansic: 789; makefile: 385; sh: 27; python: 4; lisp: 2; perl: 2
file content (20 lines) | stat: -rwxr-xr-x 561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with coq,ocaml

override_dh_auto_build:
	dune build -p coq-quickchick

override_dh_auto_install:
	dune install coq-quickchick --destdir=$(CURDIR)/debian/tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
	find $(CURDIR)/debian/tmp -name LICENSE -delete
	rm -rf $(CURDIR)/debian/tmp/usr/doc
	help2man $(CURDIR)/debian/tmp/usr/bin/quickChick --no-discard-stderr > debian/quickChick.1

override_dh_auto_clean:
	make clean
	rm -f .lia.cache plugin/META.coq-quickchick
	find . -name "*.vo*" -delete