Skip to content
Browse files

Make it possible to override the binary version

  • Loading branch information...
1 parent 47c89ec commit 8fec36582bef59fb2b24e64a8ec6d8120106fb61 Tollef Fog Heen committed with tfheen Jan 29, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 debian/rules
View
7 debian/rules
@@ -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.
Something went wrong with that request. Please try again.