emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Installing org-mode from git without byte-compiling
Date: Fri, 31 Dec 2010 15:41:08 -0500	[thread overview]
Message-ID: <87tyht8yl7.fsf@norang.ca> (raw)
In-Reply-To: <AANLkTimFjG7srppxj6y2Y_SV3TD5QSLxOhk1NG9TQwTx@mail.gmail.com> (Jeff Horn's message of "Fri, 31 Dec 2010 13:43:57 -0500")

Jeff Horn <jrhorn424@gmail.com> 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

  reply	other threads:[~2010-12-31 20:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31 18:43 Installing org-mode from git without byte-compiling Jeff Horn
2010-12-31 20:41 ` Bernt Hansen [this message]
2011-01-01  5:36 ` Jambunathan K
2011-01-01  9:58   ` Ian Barton
2011-01-01 10:11     ` Ian Barton
2011-01-01 15:15       ` Nick Dokos
2011-01-14  8:20     ` Jeff Horn
2011-01-01 12:23   ` Jambunathan K
2011-01-03 11:29 ` Noorul Islam K M

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87tyht8yl7.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /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/org-mode.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).