#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk
include /usr/share/dpkg/pkg-info.mk

export LIQ_VERSION := $(DEB_VERSION_UPSTREAM)
export LIQUIDSOAP_ENABLE_BUILD_CONFIG := true
export IS_SNAPSHOT := false

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

override_dh_auto_install:
	dh_auto_install
	sed -E -i 's|/tmp/build_[0-9a-f]+_dune|/tmp/build_dune|g' debian/tmp/usr/doc/liquidsoap/html/settings.html
