unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] make-dist fixes and clean-ups
Date: Mon, 09 May 2005 14:19:14 +0200	[thread overview]
Message-ID: <87wtq84mnx.fsf@xs4all.nl> (raw)
In-Reply-To: <87y8az2l7i.fsf@marant.org> (Jérôme Marant's message of "Sun, 01 May 2005 14:18:41 +0200")

Jérôme Marant <jmarant@free.fr> writes:

> Lute Kamstra <Lute.Kamstra.lists@xs4all.nl> writes:
>
>> Jérôme Marant <jmarant@free.fr> writes:
>>
>>> +	Do not remove ldefs-boot.el.
>>
>> Why?  make-dist distributes loaddefs.el, so there's no need to
>> distribute ldefs-boot.el.
>
> I need to make make-dist work on an non-bootstrapped tree. We, at Debian,
> don't include .elc files in the tarball and generate packages from
> the bootstrap, for practical reasons.
>
> If you remove ldefs-boot.el, make bootstrap fails.

So you do the following?

  1. Checkout a clean working copy of Emacs' CSV.
  2. Run "make-dist --snapshot" to get a tarball (without .elc or info
     files). 
  3. Unpack this tarball.
  4. Run ".configure" and "make bootstrap" on that tree.

(I'm pleasantly surprised that works.)

What about the patch below then?  It makes sure that make-dist never
distributes ldefs-boot.el (that way, ldefs-boot.el will never be
installed either) and it ensures that a tarball created by the above
method can bootstrap.

Lute.


Index: make-dist
===================================================================
RCS file: /cvsroot/emacs/emacs/make-dist,v
retrieving revision 1.212
diff -c -r1.212 make-dist
*** make-dist	7 May 2005 15:28:12 -0000	1.212
--- make-dist	9 May 2005 12:08:34 -0000
***************
*** 351,356 ****
--- 351,361 ----
   test -f README && ln README ../${tempdir}/lisp
   (cd ../${tempdir}/lisp
    rm -f TAGS =*
+   if [ -f loaddefs.el ]; then
+     rm -f ldefs-boot.el
+   else
+     mv ldefs-boot.el loaddefs.el
+   fi
    rm -f site-init site-init.el site-init.elc
    rm -f site-load site-load.el site-load.elc
    rm -f site-start site-start.el site-start.elc

  parent reply	other threads:[~2005-05-09 12:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-30 11:04 [PATCH] make-dist fixes and clean-ups Jérôme Marant
2005-05-01 12:06 ` Lute Kamstra
2005-05-01 12:18   ` Jérôme Marant
2005-05-01 15:12     ` Stefan Monnier
2005-05-01 17:10       ` Jérôme Marant
2005-05-01 19:58         ` Kim F. Storm
2005-05-01 20:19           ` Jérôme Marant
2005-05-01 22:35             ` Thien-Thi Nguyen
2005-05-02  7:32               ` Jérôme Marant
2005-05-02 22:33                 ` Thien-Thi Nguyen
2005-05-02 23:41                 ` Richard Stallman
2005-05-02  9:59             ` Kim F. Storm
2005-05-02 11:54               ` Jérôme Marant
2005-05-01 23:39         ` Richard Stallman
2005-05-02  6:51           ` Jérôme Marant
2005-05-09 12:19     ` Lute Kamstra [this message]
2005-05-09 22:57       ` Jérôme Marant
2005-05-10  8:15         ` Lute Kamstra
2005-05-10  9:42           ` Jérôme Marant
2005-05-10  9:04       ` Richard Stallman
2005-05-10 15:11         ` Lute Kamstra
2005-05-11 16:27           ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2005-04-30  9:55 Jérôme Marant

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=87wtq84mnx.fsf@xs4all.nl \
    --to=lute.kamstra.lists@xs4all.nl \
    --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).