]> git.lyx.org Git - features.git/blobdiff - config/lyxinclude.m4
Allow alpha as suffix for development releases
[features.git] / config / lyxinclude.m4
index 7f887491bea2c9f3598c7c39ad3afe111e28ce21..8b301232f3c413bdbfe8e2f5b739c199b231c39c 100644 (file)
@@ -16,7 +16,7 @@ if echo AC_PACKAGE_VERSION | grep 'svn' >/dev/null ; then
 else
   lyx_devel_version=no
 fi
-if echo AC_PACKAGE_VERSION | grep 'pre' > /dev/null ; then
+if echo AC_PACKAGE_VERSION | egrep 'pre|alpha' > /dev/null ; then
     lyx_prerelease=yes
     echo "WARNING: This is a prerelease. Be careful and backup your documents."
 else