File: rules

package info (click to toggle)
log4cplus 2.0.8-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,592 kB
  • sloc: cpp: 53,091; sh: 10,537; ansic: 1,845; python: 1,226; perl: 263; makefile: 209; xml: 85; objc: 59
file content (42 lines) | stat: -rwxr-xr-x 1,005 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/make -f

DH_VERBOSE=1

include /usr/share/dpkg/default.mk

export DEB_CXXFLAGS_MAINT_APPEND := --std=c++11
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_clean:
	dh_auto_clean
	# building tests separately, see #978617
	dh_auto_clean --builddirectory build-with-tests

override_dh_auto_configure-arch:
	dh_auto_configure -- -DWITH_UNIT_TESTS=OFF
	dh_auto_configure --builddirectory build-with-tests

override_dh_auto_build-arch:
	dh_auto_build
	dh_auto_build --builddirectory build-with-tests

override_dh_auto_build-indep:
	cd docs && mkdir -p log4cplus-$(DEB_VERSION_UPSTREAM)/docs && doxygen doxygen.config

override_dh_installdocs-indep:
	dh_installdocs -i
	dh_doxygen

override_dh_link-indep:
	dh_link
	jdupes -rl debian/liblog4cplus-doc/usr/share/doc/liblog4cplus-dev/html/

override_dh_auto_test-arch:
	dh_auto_test --builddirectory build-with-tests

# nothing todo for indep:
override_dh_auto_install-indep:
override_dh_auto_test-indep: