Skip to content

Commit

Permalink
Install man pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Aug 11, 2022
1 parent e03b373 commit 3c44415
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cantera/build_py.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions cantera/build_py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3c44415

Please sign in to comment.