File: rules

package info (click to toggle)
belenios 2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,444 kB
  • sloc: ml: 24,610; python: 4,795; sh: 1,137; makefile: 167; javascript: 31
file content (17 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
17
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml

override_dh_auto_build:
	dune build -p belenios-platform,belenios-platform-native,belenios-lib,belenios-tool
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
	$(MAKE) doc
endif
	_build/install/default/bin/belenios-tool --help=groff > debian/belenios-tool.1

override_dh_auto_install:
	dune install --destdir=debian/tmp --prefix=/usr belenios-tool