File: rules

package info (click to toggle)
log4cxx 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,996 kB
  • sloc: cpp: 42,860; xml: 847; makefile: 18; sh: 14
file content (32 lines) | stat: -rwxr-xr-x 698 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
30
31
32
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
else
    CONFIGURE_SWITCHES = -DBUILD_SITE=On
endif

%:
	dh $@

override_dh_auto_configure-indep:
	dh_auto_configure -- $(CONFIGURE_SWITCHES)

override_dh_auto_build-indep:
	dh_auto_build -- doc_doxygen

override_dh_auto_test-indep:
	# no tests for arch all.

override_dh_auto_install-indep:
	# no install for arch:all

override_dh_installdocs:
	dh_installdocs --doc-main-package=liblog4cxx-doc -p liblog4cxx-doc
	dh_installdocs --remaining-packages