unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: New build process?
Date: Tue, 26 Jul 2011 22:24:29 +0200	[thread overview]
Message-ID: <87vcuo4woy.fsf@fencepost.gnu.org> (raw)
In-Reply-To: E93EA1CB-E480-4A43-B7FF-C0BB9424683E@gmail.com

David Reitter <david.reitter@gmail.com> writes:

> On Jul 26, 2011, at 2:47 PM, David Kastrup wrote:
>>> 
>>> I don't seem to be able to find instructions about this, and I haven't
>>> found anything relevant and recent in the emacs-devel archive.  Help,
>>> please!
>> 
>> INSTALL.BZR
>
> Suggest changing the name of this file.  Not everybody gets the source
> code via Bazaar.  When these inconvenient changes happened, I got
> caught out like Alan Mackenzie, since I wouldn't think of reading this
> file.
>
> Better yet, include a configure script that calls autogen.sh and then
> runs itself.  If people consider this an inconvenience w.r.t. the
> version control tool, then perhaps autogen.sh could generate
> configure.local instead.
>
> As others have said here, people expect to be able to do ./configure;
> make install.

"people" get a tarball, and then this works perfectly fine and is
usually described in INSTALL.  When working from a version control
system, it is the rule rather than the exception that generated files
_including_ ./configure are _not_ checked into the version control
system, and that there is a separate INSTALL.CVS file or similar.  The
"usual way" for installing from a tarball is "./configure && make
install", and the "usual way" for installing from a version control
system checkout is "./autogen.sh && ./configure && make install".

It is an unreasonable expectation that ./configure is checked into the
version control system if it is a generated file and not source code.
It has been this way for a long time in the Emacs source tree, and has
been a source for trouble for a long time.  And obviously it has lead to
bad expectations as well.

-- 
David Kastrup




  parent reply	other threads:[~2011-07-26 20:24 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 18:42 New build process? Alan Mackenzie
2011-07-26 18:47 ` David Kastrup
2011-07-26 20:00   ` David Reitter
2011-07-26 20:16     ` Daniel Colascione
2011-07-27  2:58       ` Richard Stallman
2011-07-27  3:40         ` Tim Cross
2011-07-27  5:08           ` Eli Zaretskii
2011-07-27  7:58             ` Tim Cross
2011-07-27  8:25               ` Peter Münster
2011-07-27  8:48                 ` Tim Cross
2011-07-27  9:43                   ` Peter Münster
2011-07-27  8:51                 ` David Kastrup
2011-07-27 10:05                 ` Eli Zaretskii
2011-07-27 10:03               ` Eli Zaretskii
2011-07-27 13:11                 ` Tim Cross
2011-07-27 13:31                   ` Lennart Borgman
2011-07-27 13:56                     ` David Kastrup
2011-07-28 12:37                       ` David De La Harpe Golden
2011-07-28 12:46                         ` David Kastrup
2011-07-29 12:36                           ` Alan Mackenzie
2011-07-27 14:58                     ` Tim Cross
2011-07-27 16:14                 ` Richard Stallman
2011-07-27 16:25                   ` Eli Zaretskii
2011-07-27 20:27                 ` Paul Eggert
2011-07-28 10:06                   ` Eli Zaretskii
2011-07-28 16:45                   ` Richard Stallman
2011-07-27  7:51           ` Andreas Schwab
2011-07-27  8:02             ` Tim Cross
2011-07-27  8:07               ` Andreas Schwab
2011-07-27  8:13                 ` Tim Cross
2011-07-27  8:22                   ` Andreas Schwab
2011-07-27  8:31                     ` Tim Cross
2011-07-27  8:54                     ` David Kastrup
2011-07-27  9:01                       ` Andreas Schwab
2011-07-27  9:15                         ` David Kastrup
2011-07-27  9:41                           ` Andreas Schwab
2011-07-26 20:24     ` David Kastrup [this message]
2011-07-26 22:10   ` Alan Mackenzie
2011-07-27 12:15     ` Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vcuo4woy.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).