On 4 October 2015 at 17:00, Simon King <
simon...@uni-jena.de> wrote:
> Hi!
>
> Am Sonntag, 4. Oktober 2015 22:34:38 UTC+2 schrieb Snark:
>>
>> If MEATAE isn't defined, you add a depend on $(INST)/, which does exist,
>> so
>> it's an always-satisfied dep and not an error, isn't it?
>
>
> I am confused. Do you say that FOO is defined regardless whether the
> optional package foo is installed or not? Where does it come from? Perhaps
In makefiles, as in the shell, any undefined variable evaluates to the
null string.
A more robust version (perhaps what Jeroen was alluding to as a job
for later) would be to test all such variables and file somehow if any
are null.
> from running ./configure in SAGE_ROOT, which checks the content of
> build/pkgs/?
>
> And why is there such an indirection? If the dependency is called foo,
> shouldn't it be possible to name it foo rather than FOO?
>
> And why does it need to be *manually* decorated with $(INST)/? Shouldn't it
> be enough to give a list of unmodified package names, optionally modified by
> prescribing a range of acceptable version numbers?
>
> Thus, why "$(INST)/MEATAXE $(INST)/DATABASE_GAP" rather than "meataxe
> database_gap"?
The upper case variables are set in the Makefile (build/make/Makefile)
to include the full package name including the version number.
I expect that this somehow happens during the ./configure stage (which
creates that Makefile) but I have never looked into build/make before
now!
John
>
> By the way, concerning docs: Building the docs has never been a very
> pleasant experience for me, but it became a nightmare recently. It takes
> more ages on my laptop, because of swapping. And that used not to happen in
> the not so distant past.
>
> Cheers,
> Simon
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sage-devel+...@googlegroups.com.
> To post to this group, send email to
sage-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sage-devel.
> For more options, visit
https://groups.google.com/d/optout.