Skip to content

Commit

Permalink
scons: document moving around directories
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Feb 25, 2020
1 parent 14dacc5 commit 029b08f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/scons/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ def package(self):
tools.rmdir(os.path.join(self.package_folder, "man"))

if tools.os_info.is_windows:
# On Windows, scons installs the scripts in the folders `Scripts" and `Lib".
# Move these to the directories "bin" and "lib".
shutil.move(os.path.join(self.package_folder, "Scripts"),
os.path.join(self.package_folder, "bin"))
# Windows has case-insensitive paths, so do Lib -> lib2 -> lib
shutil.move(os.path.join(self.package_folder, "Lib"),
os.path.join(self.package_folder, "lib2"))
shutil.move(os.path.join(self.package_folder, "lib2"),
Expand Down

0 comments on commit 029b08f

Please sign in to comment.