|--==> "APA" == Adrian Aichner <adrian(a)xemacs.org> writes:
>>>>>"SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
SY> Let me preface this by saying that I
don't think I totally understand
SY> what you are trying to do here.
APA> I want to be able to refer to the equivalent of the CVS keywords $Date
APA> and $Name in the packages sources.
APA> In emacs lisp I want to initialize build-version and
APA> build-version-date from thme.
APA> In texi sources I want them specify the curent release and release date.
I understand wanting to keep the version number synched and only have
to update it in one place, but why do you want to bother with the
release date?
FWIW, it would be very easy to do a bit of Makefile trickery that
creates a 'build-version.el' and 'version.texi' on the fly when
building the package. And then it would be child's play to have Build
reference those two files for version info.
We could possibly do it for the build-date as well, but I'm not sure,
I'd have to check at what point in the build process it is generated.
I've got a feeling that it would be too late to do anything with it.
APA> How do I maintain synchronisity between version number and version
APA> date between documentation, Makefile, and sources?
SY> Not sure, but maybe this will help:
APA> Not really.
Oh well, I'm finding it useful. :-) Sorry it doesn't help you.
APA> Is it a requirement for packages to build without cvs access to
APA> cvs.xemacs.org?
It's not written in stone anywhere, but it definitely should be.
APA> If I could do this ...
APA> all:: update-for-release $(ELCS) $(MULE_ELCS) auto-autoloads.elc
APA> custom-load.elc $(INFO_FILES)
APA> update-for-release:
APA> cvs update -r $(AUTHOR_VERSION) -kv
Sorry Adrian, but there's no way that I am going to let you do this.
A lot of people (esp. your's truly) do not have 24/7 access to the
'net. And I very often build packages while I am offline.
We'll have to see if we can't come up with another way to do what you
want.
Sorry for the bad news.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|