#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
-export DH_COMPAT=3
+export DH_COMPAT=4
TARGETDIR = debian/liblablgtkmathview-ocaml-dev
# Add here commands to compile the package.
$(MAKE)
- -test -x /usr/bin/ocamlopt && $(MAKE) opt
+ if [ -x /usr/bin/ocamlopt ]; then $(MAKE) opt; else true; fi
touch build-stamp
# trick: redifine CAMLLIB so that findlibd doesn't try to modify the
# official /var/lib/ocaml/ld.conf
- CAMLLIB=$(CURDIR) $(MAKE) install PREFIX=$(TARGETDIR)/usr/lib/ocaml
+ $(MAKE) install PREFIX=$(TARGETDIR)/usr/lib/ocaml/3.06
movefiles: install
dh_movefiles -p liblablgtkmathview-ocaml --sourcedir=$(TARGETDIR)
dh_link -s
dh_strip -s
dh_compress -s
- dh_ocamlld -p liblablgtkmathview-ocaml /usr/lib/ocaml/lablgtkmathview
+# dh_ocamlld -p liblablgtkmathview-ocaml /usr/lib/ocaml/lablgtkmathview
dh_fixperms -s
dh_installdeb -s
dh_shlibdeps -s