aboutsummaryrefslogtreecommitdiff
path: root/docs/genrefman.py
blob: f3a4e3da76ce899061a222ad3007c4c72a931c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python3
# SPDX-License-Identifier: Apache-2.0
# Copyright 2021 The Meson development team

# Hack to make relative imports to mlog possible
from pathlib import Path
import sys
root = Path(__file__).absolute().parents[1]
sys.path.insert(0, str(root))

# Now run the actual code
from refman.main import main

if __name__ == '__main__':
    raise SystemExit(main())