# 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/