Skip to content

Commit

Permalink
use $VERSION in 'make docs' if it's set (used by metabuildbot)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Oct 1, 2010
1 parent 84ea252 commit 932fc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: docs.tgz

VERSION=$(shell PYTHONPATH=..:$${PYTHONPATH} python -c 'from buildbot import version; print version')
VERSION=$(shell if [ -n "$$VERSION" ]; then echo $$VERSION; else PYTHONPATH=..:$${PYTHONPATH} python -c 'from buildbot import version; print version'; fi)

buildbot.info: buildbot.texinfo
echo "@set VERSION $(VERSION)" > version.texinfo
Expand Down

0 comments on commit 932fc95

Please sign in to comment.