From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Installing org-mode from git without byte-compiling Date: Fri, 31 Dec 2010 15:41:08 -0500 Message-ID: <87tyht8yl7.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44731 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYlmq-0000pb-DQ for emacs-orgmode@gnu.org; Fri, 31 Dec 2010 15:41:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYlmo-0000ov-JX for emacs-orgmode@gnu.org; Fri, 31 Dec 2010 15:41:19 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:41086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYlmo-0000mI-HC for emacs-orgmode@gnu.org; Fri, 31 Dec 2010 15:41:18 -0500 In-Reply-To: (Jeff Horn's message of "Fri, 31 Dec 2010 13:43:57 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jeff Horn Cc: Org-mode ml Jeff Horn writes: > Bernt, Eric Schulte, and others, > > Bernt recently mentioned to me on #org-mode that he doesn't > byte-compile org-mode, which makes it much easier to read backtraces. > I'm trying to use Eric Schulte's starter-kit fork, and the > instructions suggest compiling org-mode.[1] > > Inspecting the Makefile, I see that I probably want to make the info > documentation and have that installed automatically, I just don't want > to byte-compile the lisp. > > 1) Is there a flag or something I can pass to make in order to skip > byte-compiling but perform the rest of the script tasks? (The Makefile > docstring suggests 'make doc' to make html and PDF docs. Will it also > make the info docs and install them automatically?) > > 2) Out of curiosity, is 'make install' ever necessary when the local > git directory is sourced into the load-path? Hi Jeff, I use specific targets with make for the things I want: make lisp/org-install.el make doc/org.info make doc/org.pdf Other than these (and org.pdf is rare) I don't use any other targets that I am aware of. You can remove *.elc files with git using git clean *.elc You can run make targets with -n to display what they would do (but not actually do anything). As far as I know the make install task only builds the *.elc files if necessary and updates the system level emacs. Try: make -n install and look at the resulting output. Regards, Bernt