File: rules

package info (click to toggle)
belenios 3.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,868 kB
  • sloc: ml: 32,112; javascript: 4,739; sh: 1,804; python: 574; makefile: 168; ansic: 17
file content (20 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml

execute_after_dh_auto_clean:
	rm -rf _run

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