-
-### Finish the work.
-AC_CONFIG_FILES([Makefile
- boost/Makefile \
- config/Makefile \
- development/Makefile \
- development/MacOSX/Makefile \
- development/MacOSX/Info.plist \
- development/MacOSX/lyxrc.dist \
- development/MacOSX/spotlight/Makefile \
- development/lyx.spec \
- intl/Makefile \
- lib/Makefile \
- lib/doc/Makefile \
- lib/lyx2lyx/lyx2lyx_version.py \
- lib/lyx2lyx/Makefile \
- m4/Makefile \
- po/Makefile.in \
- sourcedoc/Doxyfile \
- sourcedoc/Makefile \
- src/client/Makefile \
- src/Makefile \
- src/tex2lyx/Makefile \
- src/support/Makefile \
- src/frontends/Makefile \
- src/frontends/controllers/Makefile \
- src/frontends/qt4/Makefile \
+AC_DEFINE_UNQUOTED([LYX_DIR_VER],"$lyx_dir_ver",[Versioned env var for system dir])
+AC_DEFINE_UNQUOTED([LYX_USERDIR_VER],"$lyx_userdir_ver",[Versioned env var for user dir])
+AC_DEFINE_UNQUOTED([LYX_MAJOR_VERSION],$lyx_major,[Major version number])
+AC_DEFINE_UNQUOTED([LYX_MINOR_VERSION],$lyx_minor,[Minor version number])
+AC_DEFINE_UNQUOTED([LYX_RELEASE_LEVEL],$lyx_release,[Release version number])
+AC_DEFINE_UNQUOTED([LYX_RELEASE_PATCH],$lyx_patch,[Patch version number])
+
+AC_CONFIG_FILES([Makefile \
+ lyx.1:lyx.1in \
+ 3rdparty/Makefile \
+ 3rdparty/boost/Makefile \
+ 3rdparty/hunspell/Makefile \
+ 3rdparty/libiconv/Makefile \
+ $ICONV_ICONV_H_IN \
+ 3rdparty/zlib/Makefile \
+ autotests/Makefile \
+ config/Makefile \
+ development/Makefile \
+ development/MacOSX/Makefile \
+ development/MacOSX/Info.plist \
+ development/MacOSX/lyxrc.dist \
+ development/MacOSX/spotlight/Makefile \
+ development/cygwin/Makefile \
+ development/cygwin/lyxrc.dist \
+ development/lyx.spec \
+ lib/lyx.desktop-temp:lib/lyx.desktop.in
+ lib/Makefile \
+ lib/doc/Makefile \
+ lib/lyx2lyx/lyx2lyx_version.py \
+ lib/lyx2lyx/Makefile \
+ m4/Makefile \
+ po/Makefile.in \
+ sourcedoc/Doxyfile \
+ sourcedoc/Makefile \
+ src/client/Makefile \
+ src/client/lyxclient.1:src/client/lyxclient.1in \
+ src/Makefile \
+ src/tex2lyx/Makefile \
+ src/tex2lyx/tex2lyx.1:src/tex2lyx/tex2lyx.1in \
+ src/support/Makefile \
+ src/frontends/Makefile \
+ src/frontends/qt4/Makefile