mirror of
https://github.com/panda3d/panda3d.git
synced 2026-05-04 21:50:35 -05:00
Add man pages for the majority of utilities
This commit is contained in:
@@ -6290,6 +6290,8 @@ def MakeInstallerLinux():
|
||||
else:
|
||||
InstallPanda(destdir="targetroot", prefix="/usr", outputdir=GetOutputDir(), libdir=GetDebLibDir())
|
||||
oscmd("chmod -R 755 targetroot/usr/share/panda3d")
|
||||
oscmd("mkdir -p targetroot/usr/share/man/man1")
|
||||
oscmd("cp doc/man/*.1 targetroot/usr/share/man/man1/")
|
||||
|
||||
oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt")
|
||||
pkg_arch = ReadFile(GetOutputDir()+"/tmp/architecture.txt").strip()
|
||||
@@ -6463,6 +6465,9 @@ def MakeInstallerOSX():
|
||||
# Trailing newline is important, works around a bug in OSX
|
||||
WriteFile("dstroot/tools/etc/paths.d/Panda3D", "/Developer/Tools/Panda3D\n")
|
||||
|
||||
oscmd("mkdir -p dstroot/tools/usr/share/man/man1")
|
||||
oscmd("cp doc/man/*.1 dstroot/tools/usr/share/man/man1/")
|
||||
|
||||
for base in os.listdir(GetOutputDir()+"/bin"):
|
||||
binname = "dstroot/tools/Developer/Tools/Panda3D/" + base
|
||||
# OSX needs the -R argument to copy symbolic links correctly, it doesn't have -d. How weird.
|
||||
|
||||
Reference in New Issue
Block a user