summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 446d604895ff28ae5ef5adc3bc646a736640c86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/coq/coqvars.mk

%:
	dh $@ --with ocaml

.PHONY: override_dh_auto_configure
override_dh_auto_configure:
	./make_makefile
# workaround bug on fs mounted without relatime
	touch make_makefile theory.ml

.PHONY: override_dh_auto_build
override_dh_auto_build:
	$(MAKE) world

.PHONY: override_dh_gencontrol
override_dh_gencontrol:
	dh_gencontrol -- -VF:CoqABI="$(COQ_ABI)"

.PHONY: override_dh_auto_clean
override_dh_auto_clean:
	rm -Rf Makefile .depend *.glob *.d *.*o *.*a *.cm* doc html