File: rules

package info (click to toggle)
libvmod-geoip2 0.0~git20250408-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: ansic: 192; makefile: 53; sh: 28
file content (16 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

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

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

%:
	dh $@ --with varnishabi

execute_after_dh_auto_install:
	sed -i "/^dependency_libs=/s/=.*/=''/" `find $D -name '*.la'`
	rm -r $D/usr/share/doc/libvmod-geoip2/