better defaults for git metadata

This commit is contained in:
Dane Springmeyer 2014-10-23 01:00:35 -07:00
parent 64b614c570
commit 2ce6a317dd

View file

@ -79,8 +79,8 @@ dep_libs = ''.join([' -l%s' % i for i in env['LIBMAPNIK_LIBS']])
# remove local agg from public linking # remove local agg from public linking
dep_libs = dep_libs.replace('-lagg','') dep_libs = dep_libs.replace('-lagg','')
git_revision = '' git_revision = 'N/A'
git_describe = '' git_describe = config_env['MAPNIK_VERSION_STRING']
try: try:
git_cmd = "git rev-list --max-count=1 HEAD" git_cmd = "git rev-list --max-count=1 HEAD"