#export DH_VERBOSE=1
TARGETDIR = debian/liblablgtkmathview-ocaml-dev
+OCAML_STDLIB_DIR = $(shell ocamlc -where)
configure: configure-stamp
configure-stamp:
-$(MAKE) distclean
dh_clean
+distclean: clean
install: build
dh_testdir
dh_clean -k
dh_installdirs -s
- $(MAKE) install PREFIX=$(TARGETDIR)/usr/lib/ocaml/3.06
+ $(MAKE) install PREFIX=$(TARGETDIR)$(OCAML_STDLIB_DIR)
movefiles: install
dh_install -p liblablgtkmathview-ocaml --sourcedir=$(TARGETDIR)