> You are of course aware of svnversion beging a really heavy command
> (as in time consuming)

There is no workaround here.... but it is also helpful to put revision
number in the about box.

> Also you have to add it to "lyx --version"

Will do.

> |  stamp-version: version.C-tmp
> | +     sed -i 's/lyx_revision = .*/lyx_revision = "'`svnversion -n`'";/' $<
> |       if cmp -s $< version.C ; then \
> |               : ;\
> |       else \
>
> I don't think this will work in a srcdir != builddir scenario.

Do we really need to care about this scenario? I chose a place where
version.C is checked ... I am more concerned if version.C-tmp will be
changed and may appear in every 'svn ci'.

> Also to have the revison number tell the truth you have to rerun
> svnversion on all rebuilds.

What do you mean? The revision number will reflect the checked-out
revision, and that is the one to go to the about box...

Bo

Reply via email to