|
From: | Daniel Martins |
Subject: | Re: [Orgmode] Org-mode Makefile: make clean needed? make doc error? |
Date: | Fri, 11 Sep 2009 12:30:12 -0300 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |