File: rules

package info (click to toggle)
ocaml-uunf 15.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 42,148 kB
  • sloc: xml: 155,429; ml: 1,289; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml

override_dh_auto_build:
	ln -s ../debian/ucd.xml support/ucd.xml
ifeq ($(OCAML_HAVE_OCAMLOPT),no)
	sed -i 's/\.native/.byte/g' pkg/build_support.ml
endif
	ulimit -s 65536 && ocaml pkg/build_support.ml
	ulimit -s 65536 && ocaml pkg/pkg.ml build --with-cmdliner true --with-uutf true
	sed -i -e 's/%%VERSION%%/$(DEB_VERSION_UPSTREAM)/g' _build/pkg/META