Lines Matching refs:to
5 # Permission is hereby granted, free of charge, to any person obtaining a copy
6 # of this software and associated documentation files (the "Software"), to deal
8 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 # copies of the Software, and to permit persons to whom the Software is
10 # furnished to do so, subject to the following conditions:
23 """Script to install megadriver symlinks for meson."""
39 to = os.path.join(destdir, args.libdir[1:])
41 to = args.libdir
43 to = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], args.libdir)
45 master = os.path.join(to, os.path.basename(args.megadriver))
47 if not os.path.exists(to):
48 if os.path.lexists(to):
49 os.unlink(to)
50 os.makedirs(to)
53 abs_driver = os.path.join(to, driver)
57 print('installing {} to {}'.format(args.megadriver, abs_driver))
62 os.chdir(to)