only use version in 'make dist'
This commit is contained in:
parent
7b393ed7ed
commit
cdf5cc583c
@ -1,3 +1,5 @@
|
|||||||
|
# This Makefile has been placed in the public domain.
|
||||||
|
|
||||||
src = src
|
src = src
|
||||||
poname = taler-wallet-webex
|
poname = taler-wallet-webex
|
||||||
|
|
||||||
@ -6,12 +8,8 @@ pogen = node_modules/pogen/bin/pogen.js
|
|||||||
typedoc = node_modules/typedoc/bin/typedoc
|
typedoc = node_modules/typedoc/bin/typedoc
|
||||||
ava = node_modules/.bin/ava
|
ava = node_modules/.bin/ava
|
||||||
nyc = node_modules/nyc/bin/nyc.js
|
nyc = node_modules/nyc/bin/nyc.js
|
||||||
|
|
||||||
git-archive-all = ./build-system/taler-build-scripts/archive-with-submodules/git_archive_all.py
|
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
|
include ./build-system/config.mk
|
||||||
|
|
||||||
.PHONY: compile
|
.PHONY: compile
|
||||||
@ -21,7 +19,7 @@ compile:
|
|||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
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
|
# make documentation from docstrings
|
||||||
.PHONY: typedoc
|
.PHONY: typedoc
|
||||||
|
Loading…
Reference in New Issue
Block a user