☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
common
/
123 custom target directory install
/
docgen.py
☽
☼
test cases/common/123 custom target directory install/docgen.py
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
#!/usr/bin/env python3
2
3
import os
4
import sys
5
6
out = sys.argv[1]
7
8
try:
9
os.mkdir(out)
10
except FileExistsError:
11
pass
12
13
for name in ('a', 'b', 'c'):
14
with open(os.path.join(out, name + '.html'), 'w') as f:
15
f.write(name)