debian/rules.real: Define VERSION in tool builds again

The perf and lockdep makefiles use it in filenames.
This commit is contained in:
Ben Hutchings 2016-03-21 14:01:38 +00:00
parent f24971b257
commit df9fdb5217
1 changed files with 1 additions and 1 deletions

2
debian/rules.real vendored
View File

@ -480,7 +480,7 @@ install-source: $(BUILD_DIR)/$(SOURCE_PACKAGE_NAME)-source-$(UPSTREAMVERSION).ta
+$(MAKE_SELF) install-base BUILDDEB_ARGS='-Zgzip -z1'
define make-tools
+mkdir -p $(BUILD_DIR)/build-tools/$(1) && $(MAKE_CLEAN) -C $(BUILD_DIR)/build-tools/$(1) -f $(CURDIR)/debian/rules.d/$(1)/Makefile top_srcdir=$(CURDIR) top_rulesdir=$(CURDIR)/debian/rules.d OUTDIR=$(1)
+mkdir -p $(BUILD_DIR)/build-tools/$(1) && $(MAKE_CLEAN) -C $(BUILD_DIR)/build-tools/$(1) -f $(CURDIR)/debian/rules.d/$(1)/Makefile top_srcdir=$(CURDIR) top_rulesdir=$(CURDIR)/debian/rules.d OUTDIR=$(1) VERSION=$(UPSTREAMVERSION)
endef
$(STAMPS_DIR)/build-tools: