File: rules

package info (click to toggle)
libnss-cache 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: ansic: 1,701; makefile: 137; sh: 38
file content (22 lines) | stat: -rwxr-xr-x 482 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

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILD_FLAGS=1
include /usr/share/dpkg/buildflags.mk

include /usr/share/dpkg/default.mk

DESTDIR=$(CURDIR)/debian/libnss-cache
LIBDIR=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)

# Export locale for build system to run tests as
export LC_ALL=C.UTF-8

%:
	dh $@

override_dh_auto_install:
	mkdir -p $(LIBDIR)
	dh_auto_install -- LIBDIR=$(LIBDIR)