File: rules

package info (click to toggle)
mp3check 0.8.7-4
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 816 kB
  • sloc: cpp: 14,731; makefile: 182; sh: 3
file content (22 lines) | stat: -rwxr-xr-x 591 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
#!/usr/bin/make -f

# export DH_VERBOSE=1

# Get the hardening flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS   := $(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)

CXXFLAGS += -fno-strict-aliasing

%:
	dh $@

override_dh_auto_build:
	# Explicitly set buildsystem since "configure" is a custom script that does not do much.
	dh_auto_build --buildsystem=makefile -- CC='$$(CXX)'

override_dh_installman:
	dh_installman mp3check.1