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
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode