Makefile: fix 'make-version' to use git-or-darcs, not just darcs

This commit is contained in:
Brian Warner 2012-01-12 13:06:54 -08:00
parent 76e7f0ad4b
commit f62c25f419

View File

@ -14,11 +14,10 @@ SOURCES=src/allmydata src/buildtest static misc bin/tahoe-script.template twiste
.PHONY: make-version build
# The 'darcsver' setup.py command comes in the 'darcsver' package:
# http://pypi.python.org/pypi/darcsver It is necessary only if you want to
# automatically produce a new _version.py file from the current darcs history.
# This is necessary only if you want to automatically produce a new
# _version.py file from the current git/darcs history.
make-version:
$(PYTHON) ./setup.py darcsver --count-all-patches
$(PYTHON) ./setup.py update_version
.built:
$(MAKE) build