File: rules

package info (click to toggle)
ocamlweb 1.38-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 772 kB
  • sloc: ml: 5,758; sh: 1,749; makefile: 212
file content (23 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

DEB_DESTDIR=$(CURDIR)/debian/ocamlweb

%:
	dh $@ --with ocaml,tex

# test target is currently broken
override_dh_auto_test:

override_dh_auto_configure:
	./configure \
	 	--prefix=$(DEB_DESTDIR)/usr/\
		--mandir=$(DEB_DESTDIR)/usr/share/man

# we have decided to build this package as bytecode
override_dh_auto_build:
	$(MAKE) byte

# UPDATETEX: executed after installation of tex files
override_dh_auto_install:
	$(MAKE) install-byte UPDATETEX=true