From: Daniel Martins <danielemc@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: "emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: Re: Org-mode Makefile: make clean needed? make doc error?
Date: Fri, 11 Sep 2009 12:30:12 -0300 [thread overview]
Message-ID: <6ac505ad0909110830y34f10acbn37a5eff1898adbae@mail.gmail.com> (raw)
In-Reply-To: <20524da70909101325t5b08db7fod47cc3b23f39a41e@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1705 bytes --]
Thanks Samuel,
I would suggest to include your script as another directive for Makefile (if
possible)
In older machines this unneeded compilations takes a lot of time
Daniel
PS It works. I put the script below in a file OrgUpdate
daniel@martins:~/Trabalho/svn/lib/emacs-lisp/org-mode$ OrgUpdate
Already up-to-date.
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
#
# modified: Makefile
#
no changes added to commit (use "git add" and/or "git commit -a")
daniel@martins:~/Trabalho/svn/lib/emacs-lisp/org-mode$
2009/9/10 Samuel Wales <samologist@gmail.com>
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 2239 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
prev parent reply other threads:[~2009-09-11 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-05 23:39 Org-mode Makefile: make clean needed? make doc error? Daniel Martins
2009-09-10 20:25 ` Samuel Wales
2009-09-11 15:30 ` Daniel Martins [this message]
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=6ac505ad0909110830y34f10acbn37a5eff1898adbae@mail.gmail.com \
--to=danielemc@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/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).