70
70
Getting version info in other formats
71
71
-------------------------------------
74
74
arbitrary formats. The ``--custom`` option to ``version-info`` can be
75
75
used by providing a ``--template`` argument that contains variables that
76
76
will be expanded based on the status of the working tree. For example, to
77
77
generate a C header file with a formatted string containing the current
81
81
--template="#define VERSION_INFO \"Project 1.2.3 (r{revno})\"\n" \