-TARGETDIR = debian/liblablgtkmathview-ocaml-dev
-OCAML_STDLIB_DIR = $(shell ocamlc -where)
-
-include debian/autodebian.make
+OCAMLABI := $(shell ocamlc -version)
+OCAMLLIBDIR := $(shell ocamlc -where)
+OFILES := $(patsubst %.in,%,$(shell ls debian/*.in))