sagemath / binary-pkg

Tools for creating binary tarballs
Other
14 stars 11 forks source link

Update Mac instructions #3

Closed kcrisman closed 8 years ago

kcrisman commented 8 years ago

Volker - sorry, I have a dumb question. I see now two different instructions. The tl;dr is

make bdist-sage-osx # If you are on OSX

but then the other instructions say

make package-sage PACKAGE="OSX DMG image"

I assume I have to use the latter to do the non-default, but I'm not 100% sure what the role of the former is (shortcut to make package-sage PACKAGE=...?). I'm happy to add another PR to help the tl;dr be more informative on that score (if only to add a (see below for details)).

On a related note, I am unsure whether you need to be in any old directory or within $SAGE_ROOT to use these scripts? I am suspecting the answer is yes but the README.md doesn't explicitly say.

vbraun commented 8 years ago

Running make bdist-sage-osx builds three different packages (tarball, dmg, app.dmg) in one go.

You need to be in the directory with the Makefile (i.e. the binary-pkg/ directory) to run any of these.

kcrisman commented 8 years ago

Nice, I'll have to try that.

But I mean where does one have to be with respect to the Sage directory? Does it just look for a random Sage instance "nearby" in the file system, or does this all have to be inside of $SAGE_ROOT? Sorry if I wasn't clear.