#11926: "make" should run Sage once
-------------------------------------------+--------------------------------
Reporter: jdemeyer | Owner: GeorgSWeber
Type: defect | Status: closed
Priority: major | Milestone: sage-4.7.3
Component: build | Resolution: fixed
Keywords: Makefile build sage-starts | Work_issues:
Upstream: N/A | Reviewer: John Palmieri,
Leif Leonhardy
Author: Jeroen Demeyer | Merged: sage-4.7.3.alpha0
Dependencies: |
-------------------------------------------+--------------------------------
Comment(by leif):
Replying to [comment:59 jdemeyer]:
> Replying to [comment:58 jhpalmieri]:
> > If someone runs 'make build' instead of 'make' or 'make start', is
there a good way to let them know that they should probably run Sage once
to initialize various files, or should we just hope that they've read
enough of README.txt or the installation guide?
>
> Well, we could print a message after `make build` is finished, but this
will also be printed when doing a simple `make` and might confuse users.
So I would rather ''not'' print anything and assume that users who know
about `make build` also know what they are doing.
{{{
#!make
ifeq ($(MAKECMDGOALS),build)
RUN_SAGE_REMINDER = echo "Make sure to run Sage once before ..."
endif
...
build: ...
...
$(RUN_SAGE_REMINDER)
}}}
----
IMHO this ticket still needs work.
First of all, `doc` should also depend on `start`[sic], to avoid
attempting to run both at the same time.
Second, the output of `sage-starts` still isn't logged, which is important
for error reports at least.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11926#comment:63>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.