File: rules

package info (click to toggle)
nsca-ng 1.6-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,516 kB
  • sloc: ansic: 13,246; sh: 634; makefile: 231; perl: 137; python: 15
file content (32 lines) | stat: -rwxr-xr-x 809 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
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

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

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_clean:
	-rm config.log
	dh_auto_clean

override_dh_auto_configure:
	dh_auto_configure  -- --enable-server

override_dh_auto_test:
	dh_auto_test --no-parallel

override_dh_auto_install:
	dh_auto_install

	$(RM) debian/tmp/etc/*.cfg
	$(RM) debian/tmp/usr/share/man/man*/*.*