]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/flower-version.cc
release: 0.1.54
[lilypond.git] / flower / flower-version.cc
index 6372f502779c76ed5661ff81c20d41d126791fd1..344474cd1bd2610a9d4e2d74629f3bbd15ef0907 100644 (file)
@@ -1,16 +1,13 @@
-#include "version.hh"  // urg
 #include <stdio.h>
 
-static char *s = "FlowerLib " MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL MY_PATCH_LEVEL " #%d";
+#include "config.hh"
+
+// static char *s = "FlowerLib " MAJOR_VERSION "." MINOR_VERSION "."  PATCH_LEVEL MY_PATCH_LEVEL " #%d";
+static char *s = "FlowerLib " FLOWER_VERSION ;
 
-static const int build=
-#include ".build"
-;
 
 char const * 
 flower_version_sz()
 {
-  static char v[1024];
-  sprintf (v, s, build);
-  return v;
+  return s;
 }