]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/generic-vars.make
* scripts/mup2ly.py: Cut-n-paste include missing lilylib.
[lilypond.git] / stepmake / stepmake / generic-vars.make
index c47a444f336735aeb45679b48b62f8a2abf9bdc5..5a0302d9a091bd0c6a5b753a339842851d8dc367 100644 (file)
@@ -4,11 +4,11 @@
 # internal, not normally used
 DEPTH = $(depth)/$(package-depth)
 
-ifeq ($(topdir),)
-abs-srcdir := $(shell cd $(depth); pwd)
-#deprecated
-topdir := $(abs-srcdir)
-endif
+#ifeq ($(topdir),)
+#abs-srcdir := $(shell cd $(depth); pwd)
+##deprecated
+#topdir := $(abs-srcdir)
+#endif
 pwd := $(shell pwd)
 
 ifeq ($(srcdir),.)
@@ -17,6 +17,11 @@ else
 src-depth = $(srcdir)
 endif
 
+ifeq ($(topdir),)
+abs-srcdir := $(shell cd $(src-depth); pwd)
+topdir := $(abs-srcdir)
+endif
+
 # derived names
 ifeq ($(distdir),)
   distdir = $(topdir)/$(outdir)/$(DIST_NAME)