* Re: build from CVS
[not found] <B121AEA4C026D51180670000E899F02722F79D@MAILSERVER>
@ 2002-02-07 14:57 ` Richard Stallman
2002-02-07 15:07 ` Stefan Monnier
0 siblings, 1 reply; 9+ messages in thread
From: Richard Stallman @ 2002-02-07 14:57 UTC (permalink / raw
Cc: emacs-devel
Assuming that make expands $$ to it's PID, does it ?
I think make starts a shell to run the command, so $$ will
be the PID of the shell. So I expect it would not work.
Have you ever seen it ever work?
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
[not found] <Pine.SUN.3.91.1020206094932.1770C-100000@is>
@ 2002-02-07 14:58 ` Richard Stallman
2002-02-07 19:51 ` Eli Zaretskii
2002-02-07 20:06 ` Eli Zaretskii
0 siblings, 2 replies; 9+ messages in thread
From: Richard Stallman @ 2002-02-07 14:58 UTC (permalink / raw
Cc: vardhan.v, emacs-devel
> another options is putting echo ^G^G^G, so that an audible
> alarm is (usually) generated ......
Yes, possibly followed by "sleep 10", or some other annoyingly long
delay.
Idea! We could put in an infinite sleep-loop. Then the make will not
get beyond that point. You'll have to use C-c to terminate it,
though. Does that seem unreasonable?
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
2002-02-07 14:57 ` Richard Stallman
@ 2002-02-07 15:07 ` Stefan Monnier
2002-02-08 13:55 ` Richard Stallman
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2002-02-07 15:07 UTC (permalink / raw
Cc: vardhan.v, emacs-devel
> Assuming that make expands $$ to it's PID, does it ?
>
> I think make starts a shell to run the command, so $$ will
> be the PID of the shell. So I expect it would not work.
> Have you ever seen it ever work?
Actually, `$$' is turned into `$' by make (since $ is used by make for
variable interpolation, `$$' is provided as a way to protect a $ from
expansion). So `$$$$' would get the shell's process id.
With some shells you might be able to use `$$PPID'.
Stefan
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
2002-02-07 14:58 ` Richard Stallman
@ 2002-02-07 19:51 ` Eli Zaretskii
2002-02-07 20:02 ` Stefan Monnier
2002-02-07 20:06 ` Eli Zaretskii
1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2002-02-07 19:51 UTC (permalink / raw
Cc: vardhan.v, emacs-devel
> Date: Thu, 7 Feb 2002 07:58:00 -0700 (MST)
> From: Richard Stallman <rms@gnu.org>
>
> Idea! We could put in an infinite sleep-loop. Then the make will not
> get beyond that point. You'll have to use C-c to terminate it,
> though. Does that seem unreasonable?
Seems entirely reasonable to me.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
2002-02-07 19:51 ` Eli Zaretskii
@ 2002-02-07 20:02 ` Stefan Monnier
0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2002-02-07 20:02 UTC (permalink / raw
Cc: rms, vardhan.v, emacs-devel
> > Date: Thu, 7 Feb 2002 07:58:00 -0700 (MST)
> > From: Richard Stallman <rms@gnu.org>
> >
> > Idea! We could put in an infinite sleep-loop. Then the make will not
> > get beyond that point. You'll have to use C-c to terminate it,
> > though. Does that seem unreasonable?
>
> Seems entirely reasonable to me.
`make -j' will still get beyond that point, of course.
I feel like we're trying too hard to solve a non-problem.
Let's just put a `sleep 10' and be done with it.
Stefan
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
2002-02-07 14:58 ` Richard Stallman
2002-02-07 19:51 ` Eli Zaretskii
@ 2002-02-07 20:06 ` Eli Zaretskii
1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2002-02-07 20:06 UTC (permalink / raw
Cc: vardhan.v, emacs-devel
> From: Richard Stallman <rms@gnu.org>
> Date: Thu, 7 Feb 2002 07:58:00 -0700 (MST)
>
> Idea! We could put in an infinite sleep-loop. Then the make will not
> get beyond that point. You'll have to use C-c to terminate it,
> though. Does that seem unreasonable?
To make C-c more reasonable, we could add an appropriate text before
the sleep, telling the user to stop it with C-c.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
[not found] ` <200202051248.g15CmRv02237@aztec.santafe.edu>
@ 2002-02-07 21:04 ` Ken Raeburn
2002-02-08 23:24 ` Richard Stallman
0 siblings, 1 reply; 9+ messages in thread
From: Ken Raeburn @ 2002-02-07 21:04 UTC (permalink / raw
Richard Stallman <rms@gnu.org> writes:
> I think if you add "exit 1" to the commands run by maybe_bootstrap, Make
> will stop after printing that message.
> I think that won't work if make is run with -k,
> and normally that's what people do.
What about making the ${SUBDIRS} and leim targets depend on
maybe_bootstrap? Then "make src" will get the warning too (is that a
bad thing?), and "make -k" should skip all the subdir targets after
the one failure reported by maybe_bootstrap.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
2002-02-07 15:07 ` Stefan Monnier
@ 2002-02-08 13:55 ` Richard Stallman
0 siblings, 0 replies; 9+ messages in thread
From: Richard Stallman @ 2002-02-08 13:55 UTC (permalink / raw
Cc: vardhan.v, emacs-devel
Actually, `$$' is turned into `$' by make (since $ is used by make for
variable interpolation, `$$' is provided as a way to protect a $ from
expansion). So `$$$$' would get the shell's process id.
I stand corrected, but this doesn't affect the point. The shell's
process id is not useful anyway--killing the shell is easy with `exit
1', but that won't tell `make -k' to stop.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: build from CVS
2002-02-07 21:04 ` build from CVS Ken Raeburn
@ 2002-02-08 23:24 ` Richard Stallman
0 siblings, 0 replies; 9+ messages in thread
From: Richard Stallman @ 2002-02-08 23:24 UTC (permalink / raw
Cc: emacs-devel
What about making the ${SUBDIRS} and leim targets depend on
maybe_bootstrap? Then "make src" will get the warning too (is that a
bad thing?), and "make -k" should skip all the subdir targets after
the one failure reported by maybe_bootstrap.
That sounds good.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-02-08 23:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.SUN.3.91.1020204142059.10902C-100000@is>
[not found] ` <200202051248.g15CmRv02237@aztec.santafe.edu>
2002-02-07 21:04 ` build from CVS Ken Raeburn
2002-02-08 23:24 ` Richard Stallman
[not found] <Pine.SUN.3.91.1020206094932.1770C-100000@is>
2002-02-07 14:58 ` Richard Stallman
2002-02-07 19:51 ` Eli Zaretskii
2002-02-07 20:02 ` Stefan Monnier
2002-02-07 20:06 ` Eli Zaretskii
[not found] <B121AEA4C026D51180670000E899F02722F79D@MAILSERVER>
2002-02-07 14:57 ` Richard Stallman
2002-02-07 15:07 ` Stefan Monnier
2002-02-08 13:55 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).