2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 TARGETDIR = debian/liblablgtkmathview-ocaml-dev
9 OCAML_STDLIB_DIR = $(shell ocamlc -where)
11 configure: configure-stamp
18 build: configure-stamp build-stamp
23 if [ -x /usr/bin/ocamlopt ]; then $(MAKE) opt; else true; fi
30 rm -f build-stamp configure-stamp
43 $(MAKE) install PREFIX=$(TARGETDIR)$(OCAML_STDLIB_DIR)
46 dh_install -p liblablgtkmathview-ocaml --sourcedir=$(TARGETDIR)
48 binary-arch: build install
55 dh_installchangelogs -s ChangeLog
67 .PHONY: build clean binary-arch binary install configure