File: rules

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

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:
	rm -f .pc/.*unapply # see bug#649521
	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)