File: rules

package info (click to toggle)
belenios 1.9+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,476 kB
  • sloc: ml: 12,328; python: 1,429; sh: 258; makefile: 54
file content (20 lines) | stat: -rwxr-xr-x 408 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 -*-

%:
	dh $@ --with ocaml

.PHONY: override_dh_auto_build
override_dh_auto_build:
	$(MAKE) minimal
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
	$(MAKE) doc
endif
	_build/belenios-tool --help=groff > debian/belenios-tool.1

.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	demo/demo.sh
	demo/demo-threshold.sh
endif