File: rules

package info (click to toggle)
coq-menhirlib 20240715%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292 kB
  • sloc: ml: 196; makefile: 29
file content (20 lines) | stat: -rwxr-xr-x 495 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:
	cd coq-menhirlib && make	

override_dh_auto_clean:
	cd coq-menhirlib && make clean
	rm -f coq-menhirlib/src/CoqMakefile coq-menhirlib/src/CoqMakefile.conf coq-menhirlib/src/.lia.cache
	find . -name "*.aux" -delete

override_dh_auto_install:
	cd coq-menhirlib && make install DESTDIR=$(CURDIR)/debian/tmp

override_dh_installchangelogs:
	dh_installchangelogs coq-menhirlib/CHANGES.md