File: rules

package info (click to toggle)
bam 0.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,552 kB
  • sloc: ansic: 21,261; python: 731; makefile: 45; sh: 35; cpp: 30
file content (29 lines) | stat: -rwxr-xr-x 544 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
DPKG_EXPORT_BUILDTOOLS = nonempty
-include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/buildtools.mk

%:
	dh $@

override_dh_auto_configure:
	# nothing to do

override_dh_auto_build:
	sh make_unix.sh
	python3 scripts/gendocs.py

override_dh_auto_install:
	# do nothing here

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python3 scripts/test.py
endif

override_dh_auto_clean:
	$(RM) bam docs/bam.html scripts/*.pyc
	$(RM) -r test_output
	$(RM) docs/depgraph.png