File: rules

package info (click to toggle)
libvmod-selector 2.6.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,932 kB
  • sloc: ansic: 2,807; makefile: 126; sh: 75; ruby: 36
file content (17 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/buildtools.mk

D := $(CURDIR)/debian/varnish-selector

export VARNISHAPI_DATAROOTDIR = $(shell $(PKG_CONFIG) varnishapi --variable=datarootdir)

%:
	dh $@ --no-parallel --with varnishabi

execute_after_dh_auto_install:
	# Empty dependency_libs field in .la files (c.f. Policy 10.2).
	sed -i "/^dependency_libs=/s/'.*'/''/" `find $D -name '*.la'`
	rm -r $D/usr/share/doc/vmod-selector