Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
Make it possible to override the binary version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tollef Fog Heen authored and tfheen committed Jan 29, 2013
1 parent 47c89ec commit 8fec365
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions debian/rules
Expand Up @@ -7,5 +7,12 @@ VMODDIR = $(shell PKG_CONFIG_PATH="$(VARNISHSRC)" pkg-config --variable=vmoddir
override_dh_auto_configure:
dh_auto_configure -- VMODDIR="$(VMODDIR)" VARNISHSRC="$(VARNISHSRC)"

override_dh_gencontrol:
if [ -n "$$DEBIAN_OVERRIDE_BINARY_VERSION" ]; then \
dh_gencontrol -- -v$$DEBIAN_OVERRIDE_BINARY_VERSION; \
else \
dh_gencontrol ; \
fi

%:
dh $@

0 comments on commit 8fec365

Please sign in to comment.