#scons install
install -m 755 src/yafray ${INSTALL_ROOT}/usr/bin/yafray &&
install -m 644 src/gram.yafray ${INSTALL_ROOT}/etc/gram.yafray                         &&
install -m 644 src/yafraycore/libyafraycore.so ${INSTALL_ROOT}/usr/lib/libyafraycore.so                    &&
install -m 644 src/interface/libyafrayplugin.so ${INSTALL_ROOT}/usr/lib/libyafrayplugin.so                  &&
install -d -m 644 ${INSTALL_ROOT}/usr/lib/yafray                           &&
install -m 644 src/lights/libarealight.so ${INSTALL_ROOT}/usr/lib/yafray/libarealight.so              &&
install -m 644 src/shaders/libbasicblocks.so ${INSTALL_ROOT}/usr/lib/yafray/libbasicblocks.so            &&
install -m 644 src/shaders/libbasicshaders.so ${INSTALL_ROOT}/usr/lib/yafray/libbasicshaders.so           &&
install -m 644 src/shaders/libblendershader.so ${INSTALL_ROOT}/usr/lib/yafray/libblendershader.so          &&
install -m 644 src/lights/libglobalphotonlight.so ${INSTALL_ROOT}/usr/lib/yafray/libglobalphotonlight.so      &&
install -m 644 src/backgrounds/libhdri.so ${INSTALL_ROOT}/usr/lib/yafray/libhdri.so                   &&
install -m 644 src/lights/libhemilight.so ${INSTALL_ROOT}/usr/lib/yafray/libhemilight.so              &&
install -m 644 src/shaders/libmixblocks.so ${INSTALL_ROOT}/usr/lib/yafray/libmixblocks.so              &&
install -m 644 src/lights/libpathlight.so ${INSTALL_ROOT}/usr/lib/yafray/libpathlight.so              &&
install -m 644 src/lights/libphotonlight.so ${INSTALL_ROOT}/usr/lib/yafray/libphotonlight.so            &&
install -m 644 src/lights/libpointlight.so ${INSTALL_ROOT}/usr/lib/yafray/libpointlight.so             &&
install -m 644 src/backgrounds/libshaderback.so ${INSTALL_ROOT}/usr/lib/yafray/libshaderback.so             &&
install -m 644 src/lights/libsoftlight.so ${INSTALL_ROOT}/usr/lib/yafray/libsoftlight.so              &&
install -m 644 src/lights/libspherelight.so ${INSTALL_ROOT}/usr/lib/yafray/libspherelight.so            &&
install -m 644 src/lights/libspotlight.so ${INSTALL_ROOT}/usr/lib/yafray/libspotlight.so              &&
install -m 644 src/shaders/libsss.so ${INSTALL_ROOT}/usr/lib/yafray/libsss.so                    &&
install -m 644 src/lights/libsunlight.so ${INSTALL_ROOT}/usr/lib/yafray/libsunlight.so               &&
install -m 644 src/backgrounds/libsunsky.so ${INSTALL_ROOT}/usr/lib/yafray/libsunsky.so                 &&
install -d -m 755 ${INSTALL_ROOT}/usr/share                                &&
install -d -m 755 ${INSTALL_ROOT}/usr/share/doc                            &&
install -d -m 755 ${INSTALL_ROOT}/usr/share/doc/yafray                     &&
install -m 644 COPYING ${INSTALL_ROOT}/usr/share/doc/yafray/COPYING                &&
install -m 644 LICENSE ${INSTALL_ROOT}/usr/share/doc/yafray/LICENSE                &&
install -m 644 NEWS ${INSTALL_ROOT}/usr/share/doc/yafray/NEWS                   &&
install -m 644 README ${INSTALL_ROOT}/usr/share/doc/yafray/README                 &&
install -d -m 755  ${INSTALL_ROOT}/usr/share/doc/yafray/doc                    &&
install -m 644 doc/doc.html ${INSTALL_ROOT}/usr/share/doc/yafray/doc/doc.html           &&
install -m 644 doc/modelo_noname.dia ${INSTALL_ROOT}/usr/share/doc/yafray/doc/modelo_noname.dia
