]> git.donarmstrong.com Git - lilypond.git/blobdiff - init/Makefile
release: 0.1.58
[lilypond.git] / init / Makefile
index 04fb51197d67f5c71b2c5656e30cfdc028ed7e75..1e846bdbbf4da6b926de9a859d9eb4feb6d64c01 100644 (file)
@@ -1,27 +1,24 @@
 # init/Makefile
 
-# subdir level:
-#
 depth = ..
-#
-
-build = ./$(depth)/lily/$(outdir)/.build
 
 # generic stuff/Makefile
 #
-include ./$(depth)/make/Stuff.make
-#
+include ./$(depth)/make/Include.make
 
-# list of distribution files:
-# 
-INIFILES = $(shell ls *.ini)
+INIFILES = $(wildcard *.ly)
 DISTFILES = Makefile $(INIFILES)
-#
 
-localinstall:
-       $(INSTALL) -d $(datadir)/lilypond/init
-       $(INSTALL) -m 755 $(INIFILES) $(datadir)/lilypond/init
+## we probably can make tex/*defs.tex and init/*.ly in one go...
+## moved to mf/Makefile
+FONT_FILES = $(wildcard $(depth)/mf/*[0-9].mf)
+TABLES = $(patsubst $(depth)/mf/%.mf,%.ly,$(FONT_FILES))
+
+localclean:
+       rm -f $(TABLES)
+
+INSTALLATION_DIR=$(datadir)/lilypond/
+INSTALLATION_FILES=$(INIFILES)
+
+include $(depth)/make/Installfiles.make
 
-localuninstall:
-       for i in $(INIFILES) ; do rm -f $(datadir)/lilypond/init/$$i; done
-       -rmdir $(datadir)/lilypond/init $(datadir)/lilypond/