emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pete Phillips <pete@smtl.co.uk>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Org update script
Date: Thu, 26 Apr 2007 06:56:46 +0100	[thread overview]
Message-ID: <10436.1177567006@lap1.smtl.co.uk> (raw)
In-Reply-To: Message from Carsten Dominik <dominik@science.uva.nl> of "Thu, 26 Apr 2007 06:41:42 +0200." <a7a8a1d3179d5f27297d460fb0cb3f2e@science.uva.nl>

>>>>> "Carsten" == Carsten Dominik <dominik@science.uva.nl> writes:

    Carsten> org.el is the single biggest Emacs Lisp file in the Emacs
    Carsten> distribution.  

    Carsten> I would always recommend doing the compilation step.  It
    Carsten> speeds up loading of the file, and the general performance
    Carsten> is much better.  

This will do the job. Just make sure you edit EMACSBIN to point to the
path of your emacs binary.

Pete

(I will put this up for ftp at some stage)
-------------------------------------------------------------
#!/bin/sh

# script to automate pullingthe latest org from Carsten's site
# PJP pete@smtl.co.uk
# $Revision: 1.1 $
# $Log: update-org.sh,v $
# Revision 1.1  2007/04/26 05:53:54  pete
# Initial revision
#

# set up some variables
# EDIT THESE.!!!

# directory where the org directory is located
DIR=$HOME/emacs/lisp 
ORGDIR=$DIR/org
TMP=/tmp
TMPTAR=$TMP/org.tar.gz
# This is where I keep my copy of CVS emacs. 
EMACSBIN=/usr/local/emacs-cvs/bin/emacs
#EMACSBIN=/usr/local/bin/emacs

# you should not need to edit anything else below here

# go to the tmp dir
cd $TMP

# make sure we have the lisp dir
mkdir -p $DIR

# get the tar file
wget http://staff.science.uva.nl/~dominik/Tools/org/org.tar.gz

# ORGDIR is a symbolic link. We get rid of it
rm $ORGDIR

# cd to the lisp directory
cd $DIR

# unpack the tar file
tar xzvf $TMPTAR

# what is the new directory name?
ORGVER=`tar tvf $TMPTAR | head -1 | sed 's/  */ /g' | cut -d' ' -f6`

# remake the link...
ln -s $ORGVER org

# make ...
cd $ORGDIR
mv Makefile Makefile.orig
sed s:EMACS=emacs:EMACS=$EMACSBIN: < Makefile.orig > Makefile
make

  reply	other threads:[~2007-04-26  9:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 16:30 Org update script Scott Jaderholm
2007-04-25 18:58 ` Pete Phillips
2007-04-25 19:57   ` Scott Jaderholm
2007-04-25 21:57     ` Pete Phillips
2007-04-25 22:27 ` Patrick Drechsler
2007-04-26  4:41   ` Carsten Dominik
2007-04-26  5:56     ` Pete Phillips [this message]
2007-04-28 22:22     ` Patrick Drechsler

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=10436.1177567006@lap1.smtl.co.uk \
    --to=pete@smtl.co.uk \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /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).