File: rules

package info (click to toggle)
belenios 1.8+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,476 kB
  • sloc: ml: 12,204; python: 1,405; sh: 258; makefile: 53
file content (19 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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
endif