File: rules

package info (click to toggle)
morbig 0.11.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,716 kB
  • sloc: ml: 4,008; sh: 787; ansic: 227; makefile: 69
file content (18 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (2)
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/ocaml/ocamlvars.mk

INSTALLDIR=$(CURDIR)/debian/tmp

%:
	dh $@ --with ocaml

override_dh_auto_test:
	# do nothing

override_dh_auto_build:
	dh_auto_build
	cd src && ocamlbuild morbig.docdir/index.html

override_dh_auto_install:
	PREFIX=$(INSTALLDIR)/usr make install