File: rules

package info (click to toggle)
nzbget 21.0%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,188 kB
  • sloc: cpp: 62,888; javascript: 19,263; sh: 5,311; python: 1,381; makefile: 491
file content (21 lines) | stat: -rwxr-xr-x 448 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# for arm and armhf, build with -fpermissive
ifneq (,$(findstring arm-linux-gnueabi,$(DEB_HOST_GNU_TYPE)))
export DEB_CXXFLAGS_MAINT_APPEND = -fpermissive
endif

%:
	dh $@ --with autoreconf

override_dh_installman:
	dh_installman debian/nzbget.1

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp/

override_dh_installinit: