3
include /usr/share/cdbs/1/class/autotools.mk
4
include /usr/share/cdbs/1/rules/debhelper.mk
6
DEB_CONFIGURE_NORMAL_ARGS = --faciledir debian/libfacile-ocaml-dev/`ocamlc -where`/facile
7
DEB_MAKE_BUILD_TARGET=OCAMLC="ocamlc -g" OCAMLMLI=ocamlc
8
exclude=--disable-maintainer-mode
9
DEB_CONFIGURE_INVOKE:=$(filter-out $(exclude),$(DEB_CONFIGURE_INVOKE))
10
OCAMLABI = ${shell ocamlc -version}
11
DEB_DH_GENCONTROL_ARGS=-- -VF:OCamlABI="$(OCAMLABI)"
14
sed -e 's%#OcamlABI#%$(OCAMLABI)%' debian/control.in >debian/control
16
debian/libfacile-ocaml-dev.dirs:
17
sed -e 's%#OcamlABI#%$(OCAMLABI)%' $@.in >$@
19
common-configure-arch::
20
echo FACILEDIR=debian/libfacile-ocaml-dev/`ocamlc -where`/facile >config_Makefile