[GRASS-dev] How to get "Last changed" string for a module's manual?
Markus Neteler
neteler at osgeo.org
Mon May 4 03:24:03 PDT 2015
On Mon, May 4, 2015 at 12:08 PM, Nikos Alexandris
<nik at nikosalexandris.net> wrote:
> Dear devs,
>
> how do we get a string like
>
> "Last changed: $Date: 2014-12-01 17:21:35 +0200 (Mon, 01 Dec 2014) $"
>
> for a module's manual? Is this dynamically created or is it hardcoded?
Both :) You can copy it from another manual page. Then, to get it
updated by SVN, you need to define svn propset. this you can do with a
helper script:
sh ~/software/grass-addons/tools/module_svn_propset.sh yourfile
or
cd yourdir/
sh ~/software/grass-addons/tools/module_svn_propset.sh *
hope this helps,
Markus
More information about the grass-dev
mailing list