diff --git a/cantera/build_devel.bat b/cantera/build_devel.bat index ccf6400..2397607 100644 --- a/cantera/build_devel.bat +++ b/cantera/build_devel.bat @@ -4,7 +4,9 @@ ECHO ************************ CALL scons install +RD /S /Q "%PREFIX%/share/man" RD /S /Q "%PREFIX%/share/cantera/samples" + ROBOCOPY "%SRC_DIR%/samples/cxx" "%PREFIX%/share/cantera/samples/cxx" /S /E DEL /F "%PREFIX%/share/cantera/samples/cxx/SCons*" DEL /F "%PREFIX%/share/cantera/samples/cxx/*Make*" diff --git a/cantera/build_devel.sh b/cantera/build_devel.sh index e70802d..0902800 100644 --- a/cantera/build_devel.sh +++ b/cantera/build_devel.sh @@ -7,7 +7,9 @@ set -e ${BUILD_PREFIX}/bin/python `which scons` install set +e +rm -rf $PREFIX/share/man rm -r $PREFIX/share/cantera/samples + mkdir -p $PREFIX/share/cantera/samples cp -r $SRC_DIR/samples/cxx $PREFIX/share/cantera/samples/ rm $PREFIX/share/cantera/samples/cxx/SCons* diff --git a/cantera/build_lib.bat b/cantera/build_lib.bat index d6e733e..52d4369 100644 --- a/cantera/build_lib.bat +++ b/cantera/build_lib.bat @@ -5,7 +5,6 @@ echo "****************************" rd /s /q %PREFIX%\share\cantera\doc rd /s /q %PREFIX%\share\cantera\samples -rd /s /q %PREFIX%\share\man rd /s /q %PREFIX%\Library\include\cantera rd /s /q %PREFIX%\Scripts del /f %PREFIX%\Library\lib\cantera.lib diff --git a/cantera/build_lib.sh b/cantera/build_lib.sh index b1d84c7..ba8a7b4 100644 --- a/cantera/build_lib.sh +++ b/cantera/build_lib.sh @@ -5,7 +5,6 @@ echo "****************************" rm -rf $PREFIX/share/cantera/doc rm -rf $PREFIX/share/cantera/samples -rm -rf $PREFIX/share/man rm -rf $PREFIX/include/cantera rm -rf $PREFIX/bin rm -rf $PREFIX/lib/pkgconfig diff --git a/cantera/build_py.bat b/cantera/build_py.bat index cb5b7bd..329cfe5 100644 --- a/cantera/build_py.bat +++ b/cantera/build_py.bat @@ -20,6 +20,7 @@ IF ERRORLEVEL 1 EXIT 1 IF ERRORLEVEL 1 EXIT 1 ROBOCOPY "%SRC_DIR%\samples\python" "%PREFIX%\share\cantera\samples\python" /S /E +ROBOCOPY "%SRC_DIR%\platform\posix\man" "%PREFIX%\share\man\man1" /S /E echo **************************** echo PYTHON %PYTHON% BUILD COMPLETED SUCCESSFULLY diff --git a/cantera/build_py.sh b/cantera/build_py.sh index ddb2963..468df7c 100644 --- a/cantera/build_py.sh +++ b/cantera/build_py.sh @@ -18,6 +18,8 @@ $PYTHON -m pip install --no-deps --no-index --find-links=build/python/dist cante mkdir -p $PREFIX/share/cantera/samples cp -r $SRC_DIR/samples/python $PREFIX/share/cantera/samples/ +mkdir -p $PREFIX/share/man +cp -r $SRC_DIR/platform/posix/man/* $PREFIX/share/man/man1/ if [[ "$target_platform" == osx-* ]]; then VERSION=$(echo $PKG_VERSION | cut -da -f1 | cut -db -f1 | cut -dr -f1)