[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / sage

File: [local] / OpenXM / src / sage / Makefile (download)

Revision 1.1, Sat Sep 8 05:35:35 2018 UTC (5 years, 8 months ago) by takayama
Branch: MAIN

The initial version of asir module to call asir from sagemath.

# $OpenXM: OpenXM/src/sage/Makefile,v 1.1 2018/09/08 05:35:35 takayama Exp $  
# This is a Makefile to test the module asir.py on mathlibre2018.
# su ; make install
usage:
	"make diff, make install (as root)"

SAGE_ASIR_DIR=${OpenXM_HOME}/src/sage

diff:
	-(cd /usr/lib/python2.7/dist-packages/sage/interfaces ; diff -c all.py.orig all.py) >all.py.diff

install:
	(cd /usr/lib/python2.7/dist-packages/sage/interfaces ; ln -s ${SAGE_ASIR_DIR}/asir.py . ; patch <${SAGE_ASIR_DIR}/all.py.diff)