auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Re: CVS repository synchronization for RefTeX


From: Reiner Steib
Subject: [AUCTeX-devel] Re: CVS repository synchronization for RefTeX
Date: Mon, 01 Jan 2007 18:59:45 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

On Sun, Dec 31 2006, Ralf Angeli wrote:

> * Reiner Steib (2006-12-30) writes:
>> When using admin/reftex/*, I don't see that it's much harder than in a
>> separate repository.
>
> I'm not sure if I understood correctly.  You mean to put only the
> build files, auxiliary files (README, INSTALL, etc.) and ChangeLog
> into admin/reftex?

Yes.  (WRT ChangeLog, see below.)

>> With Richard's okay to a RefTeX-only branch in Emacs CVS, this sounds
>> like a good solution to me.
>
> What I dislike about it is that the files will be scattered throughout
> Emacs' repository.  This makes fetching the "package" RefTeX from CVS
> much more complicated.  And with the branch it would get even harder
> if people want to fetch a development version.  

If I understand Stefan correctly, it's possible to create a branch
with just the RefTeX relevant files.  So it should be possible to "cvs
co -t reftex_devel ...", i.e. only check out RefTeX relevant files
from Emacs CVS.  If not with this command, it should be simple to make
such a target in admin/reftex/Makefile nevertheless (cvs [...] co
emacs/admin/reftex/ && cd emacs/admin/reftex/ && make fetch-files).

> Also stuff like `C-x 4 a' won't work with such a file layout and a
> single ChangeLog file.

A the changes would be done in the Emacs CVS directory layout, also
these ChangeLog files (lisp/ChangeLog, man/ChangeLog) should be used.
No problem with `C-x 4 a'.

I played a bit with the following[1] sketch of admin/reftex/Makefile.
Using grep-changelog we can build RefTeX-only ChangeLog files (some
entries are not extracted correctly, but this could be remediated by
re-writing the corresponding entries in the original ChangeLog files
(or improving grep-changelog?).

Bye, Reiner.

[1]
--8<---------------cut here---------------start------------->8---
base=../..
grepcl=$(base)/lib-src/grep-changelog --text=reftex

ChangeLogs:     lisp/ChangeLog texi/ChangeLog


lisp/ChangeLog: $(base)/lisp/ChangeLog
        $(grepcl) $< | sed -e 's,textmodes/reftex,reftex,g' > $@

texi/ChangeLog: $(base)/man/ChangeLog
        $(grepcl) $< > $@

clone-files:
        cp -p $(base)/lisp/textmodes/reftex*.el lisp/
        cp -p $(base)/man/reftex.texi texi/

clean:
        rm lisp/ChangeLog texi/ChangeLog
--8<---------------cut here---------------end--------------->8---
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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