On Tuesday 14 November 2006 2:08 pm, Jean-Marc Lasgouttes wrote:
> Here is what I do these days for 1.4 releases.

  Thank you Jean-Marc, it helps a lot. :-)

> About version number: note that, with autoconf at least, if you name
> it anything else that 1.5.0svn or 1.5.0preN, the build system will
> default to configuring in stable mode (without debug and assertions).
> This may or may not be what you expect. It may be time to change that
> before release.

Will something like this work?

Index: config/lyxinclude.m4
===================================================================
--- config/lyxinclude.m4        (revision 15933)
+++ config/lyxinclude.m4        (working copy)
@@ -16,7 +16,7 @@
 else
   lyx_devel_version=no
 fi
-if echo AC_PACKAGE_VERSION | grep 'pre' > /dev/null ; then
+if echo AC_PACKAGE_VERSION | grep -E 'pre|alpha' > /dev/null ; then
     lyx_prerelease=yes

> JMarc

-- 
José Abílio

Reply via email to