File: rules

package info (click to toggle)
herdtools7 7.58-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,732 kB
  • sloc: ml: 128,583; ansic: 3,827; makefile: 670; python: 407; sh: 212; awk: 14
file content (14 lines) | stat: -rwxr-xr-x 285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
include /usr/share/ocaml/ocamlvars.mk
export DEB_BUILD_OPTIONS += noautodbgsym

%:
	dh $@ --with ocaml --buildsystem ocaml_dune

execute_before_dh_auto_clean:
	rm -f Version.ml

execute_before_dh_auto_configure:
	make Version.ml