File: rules

package info (click to toggle)
libnss-docker 0.02-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 1,680 kB
  • ctags: 219
  • sloc: sh: 4,612; ansic: 320; makefile: 63
file content (19 lines) | stat: -rwxr-xr-x 536 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
#!/usr/bin/make -f

DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
    PARALLEL := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
    PROVEFLAGS += -j$(PARALLEL)
endif

DESTDIR := $(CURDIR)/debian/tmp

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-dependency-tracking V=1 EXTRA_CFLAGS='-Wall' PROVEFLAGS="$(PROVEFLAGS)"

override_dh_auto_install:
	dh_auto_install -- DESTDIR="$(DESTDIR)"