aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/clang16/include/yamaker_mkdepdir.py
blob: a7ae327c8715332a93c5f0621da25d36af690eb0 (plain) (blame)
1
2
3
4
5
6
7
8
# crutch script from yamaker for generating directory for given path, and put in this dir empty file yamaker_mock.dep
import os,sys

path = sys.argv[1]
if not os.path.exists(path):
    os.makedirs(path)
with open(os.path.join(path, "yamaker_mock.dep"), "w") as f:
    pass