]> granicus.if.org Git - python/commit
Handle a couple of use cases discussed in python-dev w.r.t. calculating the
authorBarry Warsaw <barry@python.org>
Sun, 18 Dec 2005 22:46:35 +0000 (22:46 +0000)
committerBarry Warsaw <barry@python.org>
Sun, 18 Dec 2005 22:46:35 +0000 (22:46 +0000)
commita3bdc2c2a5dbb6fd7f7f655f6970f7559dca0497
tree7393c26f9dbc088851256dad197c72c5219abb69
parentd24499dc53c82bcae6a97cc580cf4f3dde143bb4
Handle a couple of use cases discussed in python-dev w.r.t. calculating the
Subversion revision number.

First, in an svn export, there will be no .svn directory, so use an in-file
$Revision$ keyword string with the keyword chrome stripped off.

Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is
build outside the source tree.
Makefile.pre.in
Modules/getbuildinfo.c