]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/toplevel-version.make
Add '-dcrop' option to ps and svg backends
[lilypond.git] / make / toplevel-version.make
index f657bfecee6597e2bde37f3020e2b84c79ef0ab8..e23347d3fdd5e3fc7fbca9f3f13483b8bbe909e9 100644 (file)
@@ -1,8 +1,17 @@
 # Toplevel_version.make
 
+ifeq ($(configure-srcdir), .)
 include $(depth)/VERSION
+else
+include $(configure-srcdir)/VERSION
+endif
+
 TOPLEVEL_MAJOR_VERSION=$(MAJOR_VERSION)
 TOPLEVEL_MINOR_VERSION=$(MINOR_VERSION)
 TOPLEVEL_PATCH_LEVEL=$(PATCH_LEVEL)
 # use to send patches, always empty for released version:
 TOPLEVEL_MY_PATCH_LEVEL=$(MY_PATCH_LEVEL)
+
+# TODO: used for the website; John says that he'll rewrite this
+TOPLEVEL_VERSION_STABLE=$(VERSION_STABLE)
+TOPLEVEL_VERSION_DEVEL=$(VERSION_DEVEL)