#!/usr/bin/make -f DESTDIR=$(CURDIR)/debian/bibtex2html include /usr/share/ocaml/ocamlvars.mk %: dh $@ --with ocaml override_dh_auto_configure: ./configure --bindir=$(DESTDIR)/usr/bin\ --prefix=$(DESTDIR)/usr/share\ --mandir=$(DESTDIR)/usr/share/man override_dh_auto_build: ifeq ($(OCAML_HAVE_OCAMLOPT),yes) $(MAKE) opt manual.html else $(MAKE) byte manual.html endif override_dh_auto_test: ifeq ($(OCAML_HAVE_OCAMLOPT),yes) $(MAKE) test else $(MAKE) test-byte endif