emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* file location
@ 2010-02-06  1:11 Shawn Koons
  2010-02-06 18:19 ` Noorul Islam
  2010-02-07 13:00 ` Ecce Berlin
  0 siblings, 2 replies; 3+ messages in thread
From: Shawn Koons @ 2010-02-06  1:11 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]

Hello,

Is there a command (or two) that will identify the locations of the
below-listed files/folders? I am using Ubuntu and it seems that there is
more than one emacs install on this computer and multiple files that *could*


The following is from the #makefile# found in the org.mode folder downloaded
from the repository.

##----------------------------------------------------------------------
##  YOU MUST EDIT THE FOLLOWING LINES
##----------------------------------------------------------------------

# Name of your emacs binary
EMACS=??

# Where local software is found
prefix=/usr/local

# Where local lisp files go.
lispdir = $(prefix)/share/emacs/site-lisp

# Where info files go.
infodir = $(prefix)/share/infos

Thanks,
Shawn

[-- Attachment #1.2: Type: text/html, Size: 1032 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: file location
  2010-02-06  1:11 file location Shawn Koons
@ 2010-02-06 18:19 ` Noorul Islam
  2010-02-07 13:00 ` Ecce Berlin
  1 sibling, 0 replies; 3+ messages in thread
From: Noorul Islam @ 2010-02-06 18:19 UTC (permalink / raw)
  To: Shawn Koons; +Cc: emacs-orgmode

Shawn Koons <srkoons@gmail.com> writes:

> Hello,
>
> Is there a command (or two) that will identify the locations of the
> below-listed files/folders? I am using Ubuntu and it seems that there is
> more than one emacs install on this computer and multiple files that *could*
>

If you have installed both versions of emacs using dpkg or apt-get then
the following command will display available versions of emacs on your system.

dpkg -l | grep emacs

In order to find the list of files that comes with the package just run
the following command with the package name from the previous command output.

dpkg -L <pkgname>

I hope this helps.

Thanks and Regards
Noorul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: file location
  2010-02-06  1:11 file location Shawn Koons
  2010-02-06 18:19 ` Noorul Islam
@ 2010-02-07 13:00 ` Ecce Berlin
  1 sibling, 0 replies; 3+ messages in thread
From: Ecce Berlin @ 2010-02-07 13:00 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, Feb 6, 2010 at 2:11 AM, Shawn Koons <srkoons@gmail.com> wrote:
> Hello,
> Is there a command (or two) that will identify the locations of the
> below-listed files/folders? I am using Ubuntu and it seems that there is
> more than one emacs install on this computer and multiple files that could
> The following is from the #makefile# found in the org.mode folder downloaded
> from the repository.
> ##----------------------------------------------------------------------
> ##  YOU MUST EDIT THE FOLLOWING LINES
> ##----------------------------------------------------------------------
> # Name of your emacs binary
> EMACS=??
> # Where local software is found
> prefix=/usr/local
> # Where local lisp files go.
> lispdir = $(prefix)/share/emacs/site-lisp
> # Where info files go.
> infodir = $(prefix)/share/infos
> Thanks,
> Shawn


Hi,

if you did not compile emacs yourself, you at least have to change:

----------
prefix=/usr
----------

You can list your emacs binaries like this:
$ ls -l /usr/bin/emacs*

If installing for emacs-snapshot, you need to change in addition:
----------
lispdir = $(prefix)/share/emacs-snapshot/site-lisp/org-mode
infodir = $(prefix)/share/info
----------


Also note that the shipped install-info targets do not work on Ubuntu,
I add this to the Makefile:

,----[ Makefile ]
! install-info-ubuntu: $(INFOFILES)
!       if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ;
!       $(CP) $(INFOFILES) $(infodir)
!       $(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES)
`----
Then run:
 $ sudo make install-info-ubuntu



More details about emacs in Debian/Ubuntu are here:
http://www.debian.org/doc/packaging-manuals/debian-emacs-policy

EB

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-07 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06  1:11 file location Shawn Koons
2010-02-06 18:19 ` Noorul Islam
2010-02-07 13:00 ` Ecce Berlin

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).