File: rules

package info (click to toggle)
wmxmms2 0.6%2Brepack-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 664 kB
  • sloc: ansic: 1,075; sh: 787; makefile: 23
file content (23 lines) | stat: -rwxr-xr-x 615 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
BUILDDIR	:= DEB-BUILD
DH_AUTO_OPTIONS := -v -B$(BUILDDIR) --parallel
DESTDIR         := $(CURDIR)/debian/$(shell dh_listpackages)
export CFLAGS   := $(shell dpkg-buildflags --get CFLAGS) -Wall -Wextra
export LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,--as-needed

%:
	dh "$@"

override_dh_auto_configure:
	dh_auto_configure $(DH_AUTO_OPTIONS)

override_dh_auto_build:
	dh_auto_build $(DH_AUTO_OPTIONS)

override_dh_auto_clean:
	dh_auto_clean $(DH_AUTO_OPTIONS)
	
override_dh_auto_install:
	dh_auto_install $(DH_AUTO_OPTIONS)