File: rules

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

BUILDDIR	:= DEB-BUILD
DH_AUTO_OPTIONS := -v -B$(BUILDDIR) --parallel
DESTDIR         := $(CURDIR)/debian/$(shell dh_listpackages)

DEB_BUILD_MAINT_OPTIONS  := hardening=+all
DEB_CFLAGS_MAINT_APPEND  := $(shell getconf LFS_CFLAGS) -Wall -Wextra
DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs

include /usr/share/dpkg/buildflags.mk

%:
	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)