File: rules

package info (click to toggle)
libvmod-re 0.0~git20250531-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 344 kB
  • sloc: ansic: 1,643; makefile: 76; sh: 75
file content (16 lines) | stat: -rwxr-xr-x 391 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-re

export VARNISHAPI_DATAROOTDIR = $(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-re/