Commit 3712df77 authored by Julian Wiesener's avatar Julian Wiesener

Use pkg data for VARNISHSRC

parent 069e729b
......@@ -21,9 +21,11 @@ VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
VARNISH_SOURCE = $(shell dpkg -L varnish-headers | grep src.varnish | head -n 1)
override_dh_auto_configure:
./autogen.sh
VARNISHSRC=/usr/src/varnish-$(DEB_VERSION_UPSTREAM) dh_auto_configure
VARNISHSRC=$(VARNISH_SOURCE) dh_auto_configure
override_dh_gencontrol: debian/substvars
dh_gencontrol -- -Tdebian/substvars
......
......@@ -21,9 +21,11 @@ VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
VARNISH_SOURCE = $(shell dpkg -L varnish-headers | grep src.varnish | head -n 1)
override_dh_auto_configure:
./autogen.sh
VARNISHSRC=/usr/src/varnish-$(DEB_VERSION_UPSTREAM) dh_auto_configure
VARNISHSRC=$(VARNISH_SOURCE) dh_auto_configure
override_dh_gencontrol: debian/substvars
dh_gencontrol -- -Tdebian/substvars
......
......@@ -21,9 +21,11 @@ VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
VARNISH_SOURCE = $(shell dpkg -L varnish-headers | grep src.varnish | head -n 1)
override_dh_auto_configure:
./autogen.sh
VARNISHSRC=/usr/src/varnish-$(DEB_VERSION_UPSTREAM) VMOD_BLOB=/usr/lib/varnish/vmods/libvmod_blob.so VMOD_BLOBDIGEST=/usr/lib/varnish/vmods/libvmod_blobdigest.so dh_auto_configure -- --enable-chksum
VARNISHSRC=$(VARNISH_SOURCE) VMOD_BLOB=/usr/lib/varnish/vmods/libvmod_blob.so VMOD_BLOBDIGEST=/usr/lib/varnish/vmods/libvmod_blobdigest.so dh_auto_configure -- --enable-chksum
override_dh_gencontrol: debian/substvars
dh_gencontrol -- -Tdebian/substvars
......
......@@ -21,9 +21,11 @@ VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
VARNISH_SOURCE = $(shell dpkg -L varnish-headers | grep src.varnish | head -n 1)
override_dh_auto_configure:
VARNISHSRC=/usr/src/varnish-$(DEB_VERSION_UPSTREAM) ./bootstrap
VARNISHSRC=/usr/src/varnish-$(DEB_VERSION_UPSTREAM) dh_auto_configure
VARNISHSRC=$(VARNISH_SOURCE) ./bootstrap
VARNISHSRC=$(VARNISH_SOURCE) dh_auto_configure
override_dh_gencontrol: debian/substvars
dh_gencontrol -- -Tdebian/substvars
......
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