#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/ocaml.mk

install/ocamlweb::
	cp doc/ocamlweb-*-man.html \
		debian/ocamlweb/usr/share/doc/ocamlweb/ocamlweb-man.html
	dh_installtex

DEB_CONFIGURE_NORMAL_ARGS = \
	--prefix=$(DEB_DESTDIR)/usr/\
	--mandir=$(DEB_DESTDIR)/usr/share/man

# we have decided to build this package as bytecode
DEB_MAKE_BUILD_TARGET = byte
DEB_MAKE_INSTALL_TARGET = install-byte UPDATETEX=true
