Add man pages for the majority of utilities

This commit is contained in:
rdb
2014-12-27 22:14:23 +01:00
parent fef66d1fdd
commit 794b00805e
107 changed files with 3110 additions and 9 deletions
+5
View File
@@ -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.