Le 11/07/2012 17:14, Jan Groenewald a écrit :
On 11 July 2012 17:12, Julien Puydt <[email protected]
<mailto:[email protected]>> wrote:
Uh, debian/rules has a target to trigger a build -- and it can
definitely run make. In fact, it generally does just that!
If you show me how, I'll maintain the from-source monolithic while work
continues
on debianization. Feel free to contact me off list with details.
The most basic debian/rules looks like this four lines file :
#!/usr/bin/make -f
%:
dh $@
and dh (debhelper) will already quite nicely handle many things (in
particular, it should call make and make install correctly!). If
something isn't satisfying, just add overrides. For example, something
like :
override_dh_auto_test:
make ptestlong
should run the tests automagically (by default it will run "make test"
or "make check" if the target exists... so it should already do
something sensible!).
It's pretty easy to know which overrides_* exist : as many as there are
debhelper commands listed in "man 7 debhelper"!
Of course, that is assuming sage does the right thing when make/make
test/make install are called ; I'm a little worried about the later for
instance.
Snark on #sagemath
--
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org