]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/GNUmakefile
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[lilypond.git] / stepmake / stepmake / GNUmakefile
index 7bdbd3c278e1aea02a5521a4d4bd7f7f590b8892..f2c693ba22478c33bbc2d485b57dbc11c0e1756e 100644 (file)
@@ -2,7 +2,7 @@
 
 # subdir level:
 #
-depth = ..
+depth = ../..
 #
 
 # descent order into subdirectories:
@@ -14,8 +14,12 @@ STEPMAKE_TEMPLATES=makedir install
 
 # bootstrap stepmake:
 #
--include $(depth)/make/stepmake.make 
+-include $(depth)/make/stepmake.make
 
+ifeq ($(PACKAGE),STEPMAKE)
 INSTALLATION_DIR=$(datadir)/stepmake
+else
+INSTALLATION_DIR=$(dir $(patsubst %/, %, $(dir $(datadir))))$(package)/stepmake/stepmake
+endif
 INSTALLATION_FILES=GNUmakefile $(MAKE_FILES)