File: rules

package info (click to toggle)
ulogd2 2.0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,072 kB
  • sloc: ansic: 13,488; sh: 4,483; sql: 2,302; makefile: 209; perl: 90
file content (30 lines) | stat: -rwxr-xr-x 664 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
25
26
27
28
29
30
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

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

# Activate full hardening build flags
export DEB_BUILD_MAINT_OPTIONS := hardening=+all

PACKAGE	= $(firstword $(shell dh_listpackages))
TMP	= $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

execute_after_dh_auto_build:
	cd doc && sgml2txt ulogd.sgml && sgml2html -s 0 ulogd.sgml

execute_after_dh_auto_clean:
	$(MAKE) -C doc clean
	rm -f ulogd.conf

execute_after_dh_fixperms:
	chmod 600 $(TMP)/etc/ulogd.conf

override_dh_installdocs:
	dh_installdocs --link-doc=$(PACKAGE)