[scribus-dev] Is there a way to show the compiled build revision # for a dev build

JLuc jluc at no-log.org
Mon Jun 2 13:25:03 UTC 2014


Le 02/06/2014 11:52, Owen a écrit :
> svn info | grep Revision

When this line makes its way into the make process,
its result can be fed into a compile define
and then it can be displayed via scribus UI.

That looks like a clean and portable hack isnt ?

... except the fact that in french, svn gives a Révision
and so as to be ok with french scribusers, it should then be :
svn info | grep -E "(Revision|Révision)"
+ expression probably should be extended to german etc

PS : When there was a busy GIT contributor's repository,
there was the need, too, to know too which branch
had produced the currently running scribus.

JLuc




More information about the scribus-dev mailing list