From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Vera Subject: Re: Installing from git Date: Wed, 2 Jul 2014 22:52:32 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bacc664aafdcf04fd4119a6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2X8V-0003IH-Bv for emacs-orgmode@gnu.org; Wed, 02 Jul 2014 22:52:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2X8U-0001nA-3o for emacs-orgmode@gnu.org; Wed, 02 Jul 2014 22:52:35 -0400 Received: from mail-we0-x241.google.com ([2a00:1450:400c:c03::241]:44954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2X8T-0001n1-SU for emacs-orgmode@gnu.org; Wed, 02 Jul 2014 22:52:34 -0400 Received: by mail-we0-f193.google.com with SMTP id u56so3667030wes.4 for ; Wed, 02 Jul 2014 19:52:32 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stromeko@nexgo.de, emacs-orgmode --047d7bacc664aafdcf04fd4119a6 Content-Type: text/plain; charset=UTF-8 Thank you for your replies, I think i'm beginning to understand the process. These are the changes I made to local.mk: prefix = /usr/local/share datadir = /usr/local/share/emacs/24.4.50/etc/org (actually, this directory belongs to the built-in Org installation) Then: $ make $ sudo make install And it worked fine. The info manual is now updated, so is everything else. So, overall, the purpose of running 'make install' (or 'make up2', to also pull from the Git repository) is to avoid overriding the default Org installation that comes with Emacs? Going through the variables in local.mk it seems this is the idea, except maybe for 'infodir' which in my case points to the place where Emacs threw all its info files (including Org). To sum up, the process made the following changes on my system: - Org lisp files from Git now reside in /usr/local/share/emacs/site-lisp (which is in load-path by default). The original built-in Org lisp files are untouched. - M-x org-version shows the correct updated version and location. - M-x info shows the updated info manual which now resides in /usr/local/share/info (I think it replaced the built-in manual?). - Org data files now reside in /usr/local/share/emacs/24.4.50/etc/org (replacing the built-in files?). No extra elisp code was needed (adding the cloned repository to load-path, etc.). --047d7bacc664aafdcf04fd4119a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you for your replies, I think i'm beginning to u= nderstand the process. These are the changes I made to local.mk:

prefix =C2=A0=3D /usr/local/share
datadir = =3D /usr/local/share/emacs/24.4.50/etc/org (actually, this directory belong= s to the built-in Org installation)

Then:
$ make
$ sudo make install

And it worked fine. The i= nfo manual is now updated, so is everything else.

So, overall, the p= urpose of running 'make install' (or 'make up2', to also pu= ll from the Git repository) is to avoid overriding the default Org installa= tion that comes with Emacs?

Going through the variables in local.mk= it seems this is the idea, except maybe for 'infodir' which in my = case points to the place where Emacs threw all its info files (including Or= g).

To sum up, the process made the following changes on my system:
- Or= g lisp files from Git now reside in /usr/local/share/emacs/site-lisp (which= is in load-path by default). The original built-in Org lisp files are unto= uched.
- M-x org-version shows the correct updated version and location.
- M-x = info shows the updated info manual which now resides in /usr/local/share/in= fo (I think it replaced the built-in manual?).
- Org data files now resi= de in /usr/local/share/emacs/24.4.50/etc/org (replacing the built-in files?= ).

No extra elisp code was needed (adding the cloned repository to load-pa= th, etc.).
--047d7bacc664aafdcf04fd4119a6--