only use version in 'make dist'

This commit is contained in:
Florian Dold 2020-11-13 22:33:05 +01:00
parent 7b393ed7ed
commit cdf5cc583c
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1,3 +1,5 @@
# This Makefile has been placed in the public domain.
src = src
poname = taler-wallet-webex
@ -6,12 +8,8 @@ pogen = node_modules/pogen/bin/pogen.js
typedoc = node_modules/typedoc/bin/typedoc
ava = node_modules/.bin/ava
nyc = node_modules/nyc/bin/nyc.js
git-archive-all = ./build-system/taler-build-scripts/archive-with-submodules/git_archive_all.py
version := $(shell git describe --tags)
include ./build-system/config.mk
.PHONY: compile
@ -21,7 +19,7 @@ compile:
.PHONY: dist
dist:
$(git-archive-all) --include ./configure taler-wallet-$(version).tar.gz
$(git-archive-all) --include ./configure taler-wallet-$(shell git describe --tags).tar.gz
# make documentation from docstrings
.PHONY: typedoc