forked from bartvdbraak/blender
- updated man page from --help output.
- cmake now installs the man page. - added cmake_linux_install.sh, shell script which downloads and builds blender.
This commit is contained in:
parent
7a3ff66575
commit
7fc9eee08a
37
build_files/cmake/example_scripts/cmake_linux_install.sh
Normal file
37
build_files/cmake/example_scripts/cmake_linux_install.sh
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This shell script checks out and compiles blender, tested on ubuntu 10.04
|
||||||
|
# assumes you have dependancies installed alredy
|
||||||
|
|
||||||
|
# See this page for more info:
|
||||||
|
# http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Generic_Distro/CMake
|
||||||
|
|
||||||
|
# grab blender
|
||||||
|
mkdir ~/blender-svn
|
||||||
|
cd ~/blender-svn
|
||||||
|
svn co https://svn.blender.org/svnroot/bf-blender/trunk/blender
|
||||||
|
|
||||||
|
# create cmake dir
|
||||||
|
mkdir ~/blender-svn/build-cmake
|
||||||
|
cd ~/blender-svn/build-cmake
|
||||||
|
|
||||||
|
# cmake without copying files for fast rebuilds
|
||||||
|
# the files from svn will be used in place
|
||||||
|
cmake ../blender -DWITH_INSTALL:BOOL=FALSE
|
||||||
|
|
||||||
|
# make blender, will take some time
|
||||||
|
make
|
||||||
|
|
||||||
|
# link the binary to blenders source directory to run quickly
|
||||||
|
ln -s ~/blender-svn/build-cmake/bin/blender ~/blender-svn/blender/blender.bin
|
||||||
|
|
||||||
|
# useful info
|
||||||
|
echo ""
|
||||||
|
echo "* Useful Commands *"
|
||||||
|
echo " Run Blender: ~/blender-svn/blender/blender.bin"
|
||||||
|
echo " Update Blender: svn up ~/blender-svn/blender"
|
||||||
|
echo " Reconfigure Blender: cd ~/blender-svn/build-cmake ; cmake ."
|
||||||
|
echo " Build Blender: cd ~/blender-svn/build-cmake ; make"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
.TH "BLENDER" "1" "June 27, 2010" "Blender Blender 2\&.52 (sub 5) "
|
.TH "BLENDER" "1" "July 15, 2010" "Blender Blender 2\&.52 (sub 5) "
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
blender \- a 3D modelling and rendering package
|
blender \- a 3D modelling and rendering package
|
||||||
@ -317,11 +317,13 @@ Arguments are executed in the order they are given. eg
|
|||||||
.br
|
.br
|
||||||
.br
|
.br
|
||||||
.SH "ENVIRONMENT VARIABLES"
|
.SH "ENVIRONMENT VARIABLES"
|
||||||
\fIHOME\fR Store files such as .blender/ .B.blend .Bfs .Blog here.
|
\fIBLENDER_USER_CONFIG\fR Directory for user configuration files.
|
||||||
\fIBLENDERPATH\fR System directory to use for data files and scripts.
|
\fIBLENDER_SYSTEM_CONFIG\fR Directory for system wide configuration files.
|
||||||
For this build of blender the default \fIBLENDERPATH\fR is...
|
\fIBLENDER_USER_SCRIPTS\fR Directory for user scripts.
|
||||||
"/usr/local/share/blender/2.5"
|
\fIBLENDER_SYSTEM_SCRIPTS\fR Directory for system wide scripts.
|
||||||
setting the \fIBLENDERPATH\fR will override this
|
\fIBLENDER_USER_DATAFILES\fR Directory for user data files (icons, translations, ..).
|
||||||
|
\fIBLENDER_SYSTEM_DATAFILES\fR Directory for system wide data files.
|
||||||
|
\fIBLENDER_SYSTEM_PYTHON\fR Directory for system python libraries.
|
||||||
\fITMP\fR or \fITMPDIR\fR Store temporary files here.
|
\fITMP\fR or \fITMPDIR\fR Store temporary files here.
|
||||||
\fIPYTHONHOME\fR Path to the python directory, eg. /usr/lib/python.
|
\fIPYTHONHOME\fR Path to the python directory, eg. /usr/lib/python.
|
||||||
.br
|
.br
|
||||||
|
@ -53,7 +53,7 @@ blender_version = blender_version.split("Build")[0]
|
|||||||
|
|
||||||
date_string = datetime.date.fromtimestamp(time.time()).strftime("%B %d, %Y")
|
date_string = datetime.date.fromtimestamp(time.time()).strftime("%B %d, %Y")
|
||||||
|
|
||||||
filepath = os.path.splitext(__file__)[0] + ".1"
|
filepath = os.path.splitext(__file__)[0]
|
||||||
|
|
||||||
file = open(filepath, "w")
|
file = open(filepath, "w")
|
||||||
|
|
||||||
@ -132,3 +132,5 @@ This manpage was written for a Debian GNU/Linux system by Daniel Mester
|
|||||||
<mester@uni-bremen.de> and updated by Cyril Brulebois
|
<mester@uni-bremen.de> and updated by Cyril Brulebois
|
||||||
<cyril.brulebois@enst-bretagne.fr> and Dan Eicher <dan@trollwerks.org>.
|
<cyril.brulebois@enst-bretagne.fr> and Dan Eicher <dan@trollwerks.org>.
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
print("written:", filepath)
|
||||||
|
@ -198,6 +198,10 @@ IF(WITH_INSTALL)
|
|||||||
INSTALL(
|
INSTALL(
|
||||||
FILES ${CMAKE_SOURCE_DIR}/release/freedesktop/icons/scalable/blender.svg
|
FILES ${CMAKE_SOURCE_DIR}/release/freedesktop/icons/scalable/blender.svg
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps
|
||||||
|
)
|
||||||
|
INSTALL(
|
||||||
|
FILES ${CMAKE_SOURCE_DIR}/doc/blender.1
|
||||||
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/man
|
||||||
)
|
)
|
||||||
INSTALL(
|
INSTALL(
|
||||||
DIRECTORY ${CMAKE_SOURCE_DIR}/release/text/
|
DIRECTORY ${CMAKE_SOURCE_DIR}/release/text/
|
||||||
|
Loading…
Reference in New Issue
Block a user