-/* Version and release date definition */
+// -*- C++ -*-
+/**
+ * \file version.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#ifndef VERSION_H
+#define VERSION_H
+
+//namespace lyx {
+
///
-#define LYX_VERSION "1.1.6cvs"
+extern char const * lyx_version;
///
-#define LYX_RELEASE "Wed, Nov 22, 2000"
-/* This version string is intended to be used in files created by LyX */
-///
-#define LYX_DOCVERSION "LyX 1.1"
+extern char const * lyx_release_date;
+
+/// This is the version information shown by 'lyx -version'
+extern char const * lyx_version_info;
+
+//} // namespace lyx
+
+#endif