File: rules

package info (click to toggle)
liblognorm 2.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,192 kB
  • sloc: ansic: 10,440; sh: 6,902; makefile: 255; python: 34
file content (24 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DOPACKAGES = $(shell dh_listpackages)

override_dh_auto_configure:
	dh_auto_configure -- --$(if $(filter liblognorm-doc,$(DOPACKAGES)),en,dis)able-docs --enable-compile-warnings=yes

execute_before_dh_auto_build:
	mkdir -p doc/_static

override_dh_compress:
	dh_compress -X.txt

override_dh_auto_test-arch:
	# must be executed consecutively lest they interfere with each other!
	dh_auto_test --no-parallel
# unbreak arch-indep only builds
override_dh_auto_test-indep:

%:
	dh $@ --with=autoreconf $(DH_ADDONS)
build binary %-indep: DH_ADDONS=--with=sphinxdoc