emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mopre fun with vcswitness


From: David Kastrup
Subject: Re: Mopre fun with vcswitness
Date: Sun, 12 Jan 2014 21:18:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

address@hidden (Eric S. Raymond) writes:

> This as meant to be a reply to Eli's last, but I dropped that mail somehow.
>
> With current trunk (115999) and one line of instrumebtation added,
> this is what I see doing an in-place build:
>
> dirstate='.bzr/checkout/dirstate';                            \
>       vcswitness='$(srcdir)/../'$dirstate;                            \
>       [ -r "./$dirstate" ] || vcswitness='';                  \
>       cd src || exit;                                                 \
>       boot=bootstrap-emacs;                                   \
>       [ ! -x "$boot" ] || boot='';                                    \
>       echo "VCSWITNESS: $vcswitness";\
>       make all                                                \
>         CC='gcc -std=gnu99' CFLAGS='-g3 -O2' CPPFLAGS=''              \
>         LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot" \
>         VCSWITNESS="$vcswitness"
> VCSWITNESS: $(srcdir)/../.bzr/checkout/dirstate
>
> While this is nonempty, it's not going to work either.

I don't see that.  For an in-place build, srcdir will be '.', so after
cd src, VCSWITNESS will be correct.

The overall look is highly suspicious for srcdir being different from
. but for . itself it would seem like it would work.

No idea whether it is by accident more than by design: that would have
to be seen by taking a look at the results for a non-in-place build.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]