(process_acknowledged_grobs):
[lilypond.git] / lily / lily-version.cc
blobeb31aaec17fed953e7301acff048a48fc2e10a68
1 /*
2 lily-version.cc -- implement version strings
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2003 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
9 #include "config.h"
10 #include "version.hh"
11 #include "lily-version.hh"
13 String
14 version_string ()
16 String str = MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL;
17 String mpl ("." MY_PATCH_LEVEL);
18 if (mpl != ".")
19 str += mpl;
20 return str;
23 String
24 gnu_lilypond_string ()
26 String str = "GNU LilyPond";
27 return str;
30 String
31 gnu_lilypond_version_string ()
33 String str = gnu_lilypond_string () + " " + version_string ();
34 return str;