File: rules

package info (click to toggle)
ocaml-pp 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: ml: 595; makefile: 31
file content (18 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk

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

override_dh_autoreconf:
	if ! test -f pp.opam.bak; then \
	  cp pp.opam pp.opam.bak ; \
	fi

override_dh_auto_clean:
	if test -f pp.opam.bak; then \
	  cp pp.opam.bak pp.opam ; \
	fi
	dh_auto_clean