emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode Makefile: make clean needed? make doc error?


From: Samuel Wales
Subject: Re: [Orgmode] Org-mode Makefile: make clean needed? make doc error?
Date: Thu, 10 Sep 2009 13:25:11 -0700

Perhaps the makefile could use texi2html and emacs-w3m could display?

Also, AFAIK, git pull does not return an exit status, so && will always execute.

One solution:

                head=`git rev-parse --verify HEAD`
                git pull
                git status
                newhead=`git rev-parse --verify HEAD`
                if [ "$newhead" != "$head" ]
                then
                        #does make clean ret exit code?
                        account echodoq1 make cleanall > elup--make-clean &&
                                echo \=== make &&
                                make>elup--make 2>&1 &&
                                echo &&
                                cat elup--make | account mygrep error
                        diffoldnew cat doc/org.texi
                        #make install ... unnec unless you want
                        #delorg to be backed up.  if so then
                        #install setting prefix lispdir etc. in
                        #some annoying way
                fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]