Re: [ILUG] CVS question

From: Mark McLoughlin (mark at domain skynet.ie)
Date: Fri 28 Sep 2001 - 12:47:02 IST


On Fri, 28 Sep 2001, John P. Looney wrote:

> Can you have a variable of some sort in a CVS-managed file, that gets
> changed depending on the tag or branch ? As in, something like;
>
> PACKAGE_VERSION=${RTAG_VERSION}
>
> in a Makefile, or the like.

        in configure.in

        RCS_TAG="$Name$"

        and then a bit of jiggerry-pokery with RCS_TAG and then an
AC_SUBST looks like it might do the trick...

        hmmm, thats useful

Good Luck,
Mark.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:21 GMT