File: rules

package info (click to toggle)
ocamlweb 1.37-13
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 712 kB
  • ctags: 820
  • sloc: ml: 5,758; sh: 1,749; makefile: 253
file content (18 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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