1.) The only file which needs this define is src/version.cpp. Our use in config.h
resulted in recompiling most of our sources.
With this change, only version.cpp needs to be recompiled.
2.) Without reconfiguring, the old commit hash was still valid. Now the
detection of commit hash is done at compile time.
Installation of executabe lyx2lyx
creation and installation of lyx2lyx_version.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28241 a592a061-630c-0410-9148-cb99ea01b6c8
development/cmake/PyCompile.cmake
common code for creating .pyc and .pyo files
for scripts and lyx2lyx python files
development/cmake/scripts/CMakeLists.txt
sets a variable and includes development/cmake/PyCompile.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28098 a592a061-630c-0410-9148-cb99ea01b6c8