]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/flower-version.cc
release: 0.1.54
[lilypond.git] / flower / flower-version.cc
index 84cfd803d32aafaf4eda8f6b17394ee33d6ee506..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;
 }