File: rules

package info (click to toggle)
ocaml-uucp 15.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 42,436 kB
  • sloc: xml: 155,429; ml: 4,368; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 449 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
	ocaml pkg/build_support.ml
	ocaml pkg/pkg.ml build --with-cmdliner true --with-uunf true --with-uutf true
	sed -i -e 's/%%VERSION%%/$(DEB_VERSION_UPSTREAM)/g' _build/pkg/META