summaryrefslogtreecommitdiffstats
path: root/test cases/common/202 custom target build by default/docgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/202 custom target build by default/docgen.py')
-rw-r--r--test cases/common/202 custom target build by default/docgen.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test cases/common/202 custom target build by default/docgen.py b/test cases/common/202 custom target build by default/docgen.py
new file mode 100644
index 0000000..f343f21
--- /dev/null
+++ b/test cases/common/202 custom target build by default/docgen.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+
+out = sys.argv[1]
+
+os.mkdir(out)
+
+for name in ('a', 'b', 'c'):
+ with open(os.path.join(out, name + '.txt'), 'w') as f:
+ f.write(name)