Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add src/generate_py_source.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Sep 15, 2016
1 parent ef0919c commit 8ccd440
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/generate_py_source.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This Makefile is called by setup.sh
# to build some generated Python/Cython sources.

all: sage/libs/pari/auto_gen.pxi sage/ext/interpreters/__init__.py

# Auto-generated files
# TODO: These belong in SAGE_BUILD_DIR as well.
sage/libs/pari/auto_gen.pxi: $(SAGE_LOCAL)/share/pari/pari.desc \
sage/libs/pari/decl.pxi sage_setup/autogen/pari/*.py
python -c "from sage_setup.autogen.pari import rebuild; rebuild()"

sage/ext/interpreters/__init__.py: sage_setup/autogen/interpreters.py
python -c "from sage_setup.autogen.interpreters import rebuild; rebuild('sage/ext/interpreters')"

0 comments on commit 8ccd440

Please sign in to comment.