File: rules

package info (click to toggle)
flocq 4.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,668 kB
  • sloc: cpp: 2,077; makefile: 17
file content (23 lines) | stat: -rwxr-xr-x 486 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
#!/usr/bin/make -f

export DEB_BUILD_OPTIONS += noautodbgsym

%:
	dh $@ --with coq,ocaml

override_dh_auto_build:
	./remake

override_dh_auto_install:
	DESTDIR=$(CURDIR)/debian/tmp ./remake install

override_dh_auto_clean:
	if test -f ./remake; then \
	  ./remake clean; \
	fi
	find . -name "*.aux" -delete
	find . -name "*.glob" -delete
	find . -name "*.vo*" -delete
	rm -f .remake remake Remakefile
	rm -f .lia.cache .nra.cache config.*
	rm -f src/Version.v src/IEEE754/Int63Compat.v