monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: conversion of a prcs repository & diff with key


From: Johan Bolmsjö
Subject: Re: [Monotone-devel] Re: conversion of a prcs repository & diff with keywords
Date: Sat, 3 Jun 2006 00:17:40 +0200
User-agent: KMail/1.8.3

On Friday 02 June 2006 21.34, Bruce Stephens wrote:
> Chad Walstrom <address@hidden> writes:
>
> [...]
>
> > With autoconf/automake, the @PACKAGE_VERSION@ string can be used for
> > substitution.  If you use autoheader to create config.h and include
> > that into your source, you get #define PACKAGE_VERSION for free.
>
> Yeah.  monotone, like many of the modern systems, doesn't do that kind
> of keyword expansion.  So you need to find some other way of doing
> whatever you want to do, presumably by changing the build process of
> your project.
>

From the top branch directory?

echo "const char* g_revision = \"`cat _MTN/revision`\";" > revision.c

In monotone one revision is enough to recreate the build.

/Johan




reply via email to

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