]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.57
authorfred <fred>
Sun, 24 Mar 2002 20:08:46 +0000 (20:08 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:08:46 +0000 (20:08 +0000)
init/Makefile [new file with mode: 0644]
make/Installfiles.make [new file with mode: 0644]
tex/Makefile [new file with mode: 0644]

diff --git a/init/Makefile b/init/Makefile
new file mode 100644 (file)
index 0000000..1422d5d
--- /dev/null
@@ -0,0 +1,32 @@
+# init/Makefile
+
+
+# subdir level:
+#
+depth = ..
+#
+
+# generic stuff/Makefile
+#
+include ./$(depth)/make/Include.make
+
+# list of distribution files:
+# 
+INIFILES = $(wildcard *.ly)
+DISTFILES = Makefile $(INIFILES)
+
+## 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
+
diff --git a/make/Installfiles.make b/make/Installfiles.make
new file mode 100644 (file)
index 0000000..52ee991
--- /dev/null
@@ -0,0 +1,16 @@
+
+
+
+localinstall: localinstall-files
+
+localinstall-files:
+       $(INSTALL) -d $(INSTALLATION_DIR)
+       $(INSTALL) -m 644 $(INSTALLATION_FILES) $(INSTALLATION_DIR)
+
+localuninstall: localuninstall-files
+
+localuninstall-files:
+       for i in $(INSTALLATION_FILES) ; do \
+               rm -f $(INSTALLATION_DIR)/$$i; \
+       done
+       -rmdir $(INSTALLATION_DIR)
diff --git a/tex/Makefile b/tex/Makefile
new file mode 100644 (file)
index 0000000..9a7713e
--- /dev/null
@@ -0,0 +1,20 @@
+# tex/Makefile
+
+# subdir level:
+#
+depth = ..
+#
+#
+include ./$(depth)/make/Include.make
+#
+
+# list of distribution files:
+# 
+TEXFILES = $(wildcard *.tex)
+DISTFILES = Makefile $(TEXFILES)
+#
+
+INSTALLATION_DIR=$(TEXDIR)/lilypond
+INSTALLATION_FILES=$(TEXFILES)
+
+include $(depth)/make/Installfiles.make