Debian Codegraph @

test cases/common/202 custom target build by default/docgen.py

raw
1 #!/usr/bin/env python3
2
3 import os
4 import sys
5
6 out = sys.argv[1]
7
8 os.mkdir(out)
9
10 for name in ('a', 'b', 'c'):
11 with open(os.path.join(out, name + '.txt'), 'w') as f:
12 f.write(name)