mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
make maintainer mode automatic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9065 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6b440f84ca
commit
82bd0c1b17
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||||
|
|
||||||
|
* configure.ac: make maintainer mode active by default for
|
||||||
|
development releases
|
||||||
|
|
||||||
2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
|
2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
|
||||||
|
|
||||||
* configure.ac: update for gtk 2.4
|
* configure.ac: update for gtk 2.4
|
||||||
|
3
INSTALL
3
INSTALL
@ -227,7 +227,8 @@ Moreover, the following generic configure flags may be useful:
|
|||||||
|
|
||||||
o --enable-maintainer-mode enables some code that automatically
|
o --enable-maintainer-mode enables some code that automatically
|
||||||
rebuilds the configure script, makefiles templates and other useful
|
rebuilds the configure script, makefiles templates and other useful
|
||||||
files when needed. This is off by default, to avoid surprises.
|
files when needed. This is off by default on releases, to avoid
|
||||||
|
surprises.
|
||||||
|
|
||||||
Note that the --with-extra-* commands are not really robust when it
|
Note that the --with-extra-* commands are not really robust when it
|
||||||
comes to use of relative paths. If you really want to use a relative path
|
comes to use of relative paths. If you really want to use a relative path
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2004-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||||
|
|
||||||
|
* lyxinclude.m4 (LYX_CHECK_VERSION): simplify
|
||||||
|
|
||||||
2004-09-23 John Spray <jcs116@york.ac.uk>
|
2004-09-23 John Spray <jcs116@york.ac.uk>
|
||||||
|
|
||||||
* lyxinclude.m4 (LYX_USE_FRONTENDS): mention gtk as frontend
|
* lyxinclude.m4 (LYX_USE_FRONTENDS): mention gtk as frontend
|
||||||
|
@ -7,10 +7,10 @@ dnl Allan Rae (rae@lyx.org)
|
|||||||
dnl Usage LYX_CHECK_VERSION Displays version of LyX being built and
|
dnl Usage LYX_CHECK_VERSION Displays version of LyX being built and
|
||||||
dnl sets variables "lyx_devel_version" and "lyx_prerelease"
|
dnl sets variables "lyx_devel_version" and "lyx_prerelease"
|
||||||
AC_DEFUN([LYX_CHECK_VERSION],[
|
AC_DEFUN([LYX_CHECK_VERSION],[
|
||||||
changequote(, ) dnl
|
|
||||||
echo "configuring LyX version $VERSION"
|
echo "configuring LyX version $VERSION"
|
||||||
if echo "$VERSION" | grep 'cvs' >/dev/null ; then
|
if echo "$VERSION" | grep 'cvs' >/dev/null ; then
|
||||||
lyx_devel_version=yes
|
lyx_devel_version=yes
|
||||||
|
AC_DEFINE(DEVEL_VERSION, 1, [Define if you are building a development version of LyX])
|
||||||
echo "WARNING: This is a development version. Expect bugs."
|
echo "WARNING: This is a development version. Expect bugs."
|
||||||
else
|
else
|
||||||
lyx_devel_version=no
|
lyx_devel_version=no
|
||||||
@ -21,11 +21,7 @@ if echo "$VERSION" | grep 'pre' > /dev/null ; then
|
|||||||
else
|
else
|
||||||
lyx_prerelease=no
|
lyx_prerelease=no
|
||||||
fi
|
fi
|
||||||
changequote([, ]) dnl
|
AC_SUBST(lyx_devel_version)])
|
||||||
AC_SUBST(lyx_devel_version)
|
|
||||||
if test $lyx_devel_version = yes ; then
|
|
||||||
AC_DEFINE(DEVEL_VERSION, 1, [Define if you are building a development version of LyX])
|
|
||||||
fi])
|
|
||||||
|
|
||||||
|
|
||||||
dnl Define the option to set a LyX version on installed executables and directories
|
dnl Define the option to set a LyX version on installed executables and directories
|
||||||
|
@ -11,6 +11,10 @@ PACKAGE=lyx${program_suffix}
|
|||||||
VERSION="1.4.0cvs"
|
VERSION="1.4.0cvs"
|
||||||
LYX_CHECK_VERSION
|
LYX_CHECK_VERSION
|
||||||
|
|
||||||
|
dnl default maintainer mode to true for development versions
|
||||||
|
if test "${enable_maintainer_mode+set}" != set; then
|
||||||
|
enable_maintainer_mode=$lyx_devel_version
|
||||||
|
fi
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_TARGET
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user