From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Making a script to update and compile from CVS Date: Fri, 14 Jan 2005 12:39:27 +0000 (UTC) Message-ID: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1105707965 30438 80.91.229.6 (14 Jan 2005 13:06:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2005 13:06:05 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 14 14:05:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CpR9K-00056R-00 for ; Fri, 14 Jan 2005 14:05:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpRL1-0001oW-ES for ged-emacs-devel@m.gmane.org; Fri, 14 Jan 2005 08:18:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CpRAF-0005G8-M6 for emacs-devel@gnu.org; Fri, 14 Jan 2005 08:06:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CpRAE-0005Fc-P8 for emacs-devel@gnu.org; Fri, 14 Jan 2005 08:06:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpR5h-0003mW-T0 for emacs-devel@gnu.org; Fri, 14 Jan 2005 08:02:14 -0500 Original-Received: from [69.168.110.189] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CpQjp-0005Il-4P for emacs-devel@gnu.org; Fri, 14 Jan 2005 07:39:37 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 14 Jan 2005 12:39:27 +0000 (UTC) Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:32224 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32224 "Lennart Borgman" wrote > I saw someone made a try on EmacsWiki to automate the process of > copying and building Emacs from CVS. Here is what I do: ;; Each day, as user `bob' in an instance of Emacs, I run this for CVS ;; updates: (progn (cd "/usr/local/src/emacs/") (cvs-update "/usr/local/src/emacs/" t)) ;; Next, I run the fast `make recompile' command. ;; The `make recompile' command recompiles all Lisp files which are ;; new; it does not create .elc files. It only recompiles a file if ;; an .elc is already present. (progn (cd "/usr/local/src/emacs/") (compile "time make -C lisp autoloads && cd lisp && \ time make recompile \ EMACS=/usr/local/src/emacs/src/emacs && \ cd /usr/local/src/emacs/ && \ time make info html")) ;; (Once in a while I rebuild the DVI documentation by running ;; `make info html dvi'.) ;; Occasionally, I run the `bootfast' command which recompiles all the ;; Emacs Lisp files. I have been warned that sometimes an old .elc ;; file will cause trouble, but that has not happened yet. Also, this ;; command deletes many other files. This command takes a long time. (progn (cd "/usr/local/src/emacs/") (compile "date && time make bootfast")) ;; Finally, once in a great while, I configure and run `make bootstrap' ;; This takes a long time. (progn (cd "/usr/local/src/emacs/") (compile "./configure --with-type1 \ --with-x-toolkit=gtk --with-pop \ --prefix=/usr/local --with-sound=yes \ && time make bootstrap")) ;; I have not had to update autoloads for months or maybe years, but ;; when I did, I used this command: (progn (cd "/usr/local/src/emacs/lisp/") (compile "make autoloads EMACS=../src/emacs")) ;; For installation, I run the following in a root owned instance of Emacs: (progn (cd "/usr/local/src/emacs/") (compile "time make install")) ;; To make tags, which I do occasionally: (progn (cd "/usr/local/src/emacs/") (compile "time make TAGS")) -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc