[texworks] Version string

Vladimir Lomov lomov.vl at gmail.com
Tue Mar 9 15:51:56 CET 2010


Hi.

2010/3/9 Stefan Löffler <st.loeffler at gmail.com>:
...
> As Jonathan elaborated in the previous post, your assumption was not
> correct. There is a script getSvnRev.sh which updates src/SvnRev.h, but
> it's not called automatically during the build process. This is because
> shell scripts are not supported on all platforms (Windows). Besides,
> calling this automatically would make packaging a lot more difficult,
> seeing that for packaging you often export your svn working copy to a
> static version for which any svn commands would fail. But if you create
> a script "update" with the content "svn up && ./getSvnRev.sh && qmake &&
> make" things should work smoothly for you.

Well, then before 'src/SvnRev.h' was updated with each(?) commit. May
be remove 'src/SvnRev.sh' from svn _and_ run 'getSvnRev.sh' when qmake
run on appropriate platform?

P.S. As I build texworks with the help of PKGBUILD (part of Archlinux
package system) then it is not so difficult to update 'src/SvnRev.h'
using it.

---
WBR, Vladimir Lomov



More information about the texworks mailing list