#!/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
