File: rules

package info (click to toggle)
aac-tactics 8.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 440 kB
  • sloc: ml: 2,744; javascript: 247; makefile: 31
file content (31 lines) | stat: -rwxr-xr-x 575 bytes parent folder | download | duplicates (2)
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
28
29
30
31
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk

# Show full commands when building.
export VERBOSE := 1

ifeq ($(OCAML_NATDYNLINK),yes)
   TARGET := opt byte
else
   export OPT := -byte
   TARGET := byte
endif

%:
	dh $@ --with coq,ocaml

override_dh_auto_clean:
	$(MAKE) clean
	rm src/META.coq-aac-tactics

override_dh_auto_build:
	$(MAKE) Makefile.coq
	$(MAKE) -f Makefile.coq $(TARGET) html

override_dh_auto_install:
	$(MAKE) -f Makefile.coq install install-byte DSTROOT=$(CURDIR)/debian/tmp

override_dh_missing:
	dh_missing --fail-missing