summaryrefslogtreecommitdiff
path: root/debian/rules
blob: da4c4c4de44d0e1248f12a7696997e8a85f1bb14 (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
26
27
#!/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

.PHONY: override_dh_auto_build
override_dh_auto_build:
	$(MAKE) world

.PHONY: override_dh_auto_install
override_dh_auto_install:
# install rule as generated by coq_makefile is buggy

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

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