Skip to content

Commit 368752b

Browse files
committed
Fix TEMPLATES_PARSER_VERSION computing using Makefile now.
Fixes T612-032.
1 parent 4bf1340 commit 368752b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ def get_copyright():
290290

291291
# get tp version
292292

293-
content = open("../src/templates_parser-version.adb").readlines()
293+
content = open("../Makefile").readlines()
294294

295295
for l in content:
296-
m = re.search('.*return "(.*)"', l)
296+
m = re.search('^VERSION[^=]=[\t ]*(.*)', l)
297297
if m != None:
298298
TEMPLATES_PARSER_VERSION = m.group(1)
299299

0 commit comments

Comments
 (0)