Commit 9fa6ed42 authored by Tollef Fog Heen's avatar Tollef Fog Heen Committed by Tollef Fog Heen

Set VMODDIR, avoid retooling the build system

parent 0c5fed44
#!/usr/bin/make -f
export DH_VERBOSE=1
VARNISHSRC=/home/lkarsten/work/varnish-cache-3.0
VARNISHSRC = $(DEBIAN_VARNISH_SRC)
VMODDIR = "$(PKG_CONFIG_PATH="$(VARNISHSRC) pkg-config --variable=vmoddir varnishapi)"
override_dh_auto_configure:
dh_testdir
aclocal -I m4
libtoolize --copy --force
autoheader
automake --add-missing --copy --foreign
autoconf
./configure VARNISHSRC=$(VARNISHSRC) --prefix=/usr
dh_auto_configure VMODDIR="$(VMODDIR)" VARNISHSRC="$(VARNISHSRC)"
%:
dh $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment