Skip to content

Commit

Permalink
Trac #27398: using sdh dist helpers for plantri
Browse files Browse the repository at this point in the history
URL: https://trac.sagemath.org/27398
Reported by: chapoton
Ticket author(s): Frédéric Chapoton
Reviewer(s): Erik Bray
  • Loading branch information
Release Manager authored and vbraun committed Mar 5, 2019
2 parents 80baa84 + e7d58d1 commit 5b5d06a
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions build/pkgs/plantri/spkg-install
@@ -1,21 +1,5 @@
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "SAGE_LOCAL undefined ... exiting"
echo >&2 "Maybe run 'sage --sh'?"
exit 1
fi

cd src

$MAKE plantri
if [ $? -ne 0 ]; then
echo >&2 "Error building plantri."
exit 1
fi

echo >&2 "Copying plantri..."
cp plantri $SAGE_LOCAL/bin/plantri
if [ $? -ne 0 ]; then
echo >&2 "Error installing plantri."
exit 1
fi
sdh_make plantri

sdh_install plantri $SAGE_LOCAL/bin/

0 comments on commit 5b5d06a

Please sign in to comment.