|
@@ -220,12 +220,15 @@ def InstallPanda(destdir="", prefix="/usr", outputdir="built", libdir=GetLibDir(
|
|
|
else:
|
|
else:
|
|
|
oscmd("echo '"+libdir+"/panda3d'> "+destdir+"/etc/ld.so.conf.d/panda3d.conf")
|
|
oscmd("echo '"+libdir+"/panda3d'> "+destdir+"/etc/ld.so.conf.d/panda3d.conf")
|
|
|
|
|
|
|
|
- oscmd("cp "+outputdir+"/bin/* "+destdir+prefix+"/bin/")
|
|
|
|
|
for base in os.listdir(outputdir+"/lib"):
|
|
for base in os.listdir(outputdir+"/lib"):
|
|
|
if (not base.endswith(".a")) or base == "libp3pystub.a":
|
|
if (not base.endswith(".a")) or base == "libp3pystub.a":
|
|
|
# We really need to specify -R in order not to follow symlinks on non-GNU
|
|
# We really need to specify -R in order not to follow symlinks on non-GNU
|
|
|
oscmd("cp -R -P "+outputdir+"/lib/"+base+" "+destdir+libdir+"/panda3d/"+base)
|
|
oscmd("cp -R -P "+outputdir+"/lib/"+base+" "+destdir+libdir+"/panda3d/"+base)
|
|
|
|
|
|
|
|
|
|
+ for base in os.listdir(outputdir+"/bin"):
|
|
|
|
|
+ if not base.startswith("deploy-stub"):
|
|
|
|
|
+ oscmd("cp -R -P "+outputdir+"/bin/"+base+" "+destdir+prefix+"/bin/"+base)
|
|
|
|
|
+
|
|
|
DeleteVCS(destdir+prefix+"/share/panda3d")
|
|
DeleteVCS(destdir+prefix+"/share/panda3d")
|
|
|
DeleteBuildFiles(destdir+prefix+"/share/panda3d")
|
|
DeleteBuildFiles(destdir+prefix+"/share/panda3d")
|
|
|
DeleteEmptyDirs(destdir+prefix+"/share/panda3d")
|
|
DeleteEmptyDirs(destdir+prefix+"/share/panda3d")
|