emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Update emacs org-mode
@ 2009-04-04 16:13 Demidov Andrey
  2009-04-04 16:55 ` Manish
  0 siblings, 1 reply; 4+ messages in thread
From: Demidov Andrey @ 2009-04-04 16:13 UTC (permalink / raw)
  To: emacs-orgmode


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

Hi all,

  I just wondering how can I daily update my org-mode installation.
  Now I'm doing:

     git pull origin master
     make
     make install

  Is it right way?

Andrey

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

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

_______________________________________________
Emacs-orgmode mailing list
Remember: 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] 4+ messages in thread

* Re: Update emacs org-mode
  2009-04-04 16:13 Update emacs org-mode Demidov Andrey
@ 2009-04-04 16:55 ` Manish
  2009-04-04 17:23   ` Samuel Wales
  0 siblings, 1 reply; 4+ messages in thread
From: Manish @ 2009-04-04 16:55 UTC (permalink / raw)
  To: Demidov Andrey; +Cc: emacs-orgmode

  On Sat, Apr 4, 2009 at 9:43 PM, Demidov Andrey wrote:
  > Hi all,
  >
  >  I just wondering how can I daily update my org-mode installation.
  >  Now I'm doing:
  >
  >  git pull origin master
  >  make
  >  make install
  >
  >  Is it right way?

I would suggest a make clean and make doc as well.

I do:
$ git pull && make clean && make && make doc

-- 
Manish

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

* Re: Update emacs org-mode
  2009-04-04 16:55 ` Manish
@ 2009-04-04 17:23   ` Samuel Wales
  2009-04-04 17:51     ` Manish
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2009-04-04 17:23 UTC (permalink / raw)
  To: Manish; +Cc: emacs-orgmode

I do this:

...
        echo;echo \=== updating org;echo
        (
        cd $delbig/org-mode &&
                git pull --stat --log &&
                #first time make clean?
                make>elup--make 2>&1
                #  make install ... unnec unless you want delorg
                #  to be backed up.  if so then install setting
                #  prefix lispdir
                diffold doc/org.texi--old  doc/org.texi
        echo not doing git gc
        )
...
diffold () {
	local fold="${1:?}"; shift
	local fnew="${1:?}"; shift

        diff -u "$fold" "$fnew"
        cp "$fnew" "$fold"
}

On 2009-04-04, Manish <mailtomanish.sharma@gmail.com> wrote:
> $ git pull && make clean && make && make doc

Is make clean necessary lately?  It works without it for me.  I
thought make clean was for when mtimes are wrong?

-- 
Myalgic encephalomyelitis denialism is causing death (decades early;
Jason et al. 2006) and severe suffering (worse than nearly all other
diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
science.  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

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

* Re: Update emacs org-mode
  2009-04-04 17:23   ` Samuel Wales
@ 2009-04-04 17:51     ` Manish
  0 siblings, 0 replies; 4+ messages in thread
From: Manish @ 2009-04-04 17:51 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

  On Sat, Apr 4, 2009 at 10:53 PM, Samuel Wales wrote:
  > I do this:
  >
  > ...
  >    echo;echo \=== updating org;echo
  >    (
  >    cd $delbig/org-mode &&
  >        git pull --stat --log &&
  >        #first time make clean?
  >        make>elup--make 2>&1
  >        # make install ... unnec unless you want delorg
  >        # to be backed up. if so then install setting
  >        # prefix lispdir
  >        diffold doc/org.texi--old doc/org.texi
  >    echo not doing git gc
  >    )
  > ...
  > diffold () {
  >    local fold="${1:?}"; shift
  >    local fnew="${1:?}"; shift
  >
  >    diff -u "$fold" "$fnew"
  >    cp "$fnew" "$fold"
  > }
  >

I will have to try this sometime.  For now I just browse latest changes
using tig.

  >
  > On 2009-04-04, Manish wrote:
  >> $ git pull && make clean && make && make doc
  >
  > Is make clean necessary lately? It works without it for me. I
  > thought make clean was for when mtimes are wrong?

I think it bit me once a while ago and since then it just became a
habit.

-- 
Manish

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

end of thread, other threads:[~2009-04-04 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-04 16:13 Update emacs org-mode Demidov Andrey
2009-04-04 16:55 ` Manish
2009-04-04 17:23   ` Samuel Wales
2009-04-04 17:51     ` Manish

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