]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.61
authorfred <fred>
Sun, 24 Mar 2002 20:10:09 +0000 (20:10 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:10:09 +0000 (20:10 +0000)
make/Install_outfiles.sub.make [new file with mode: 0644]
mf/Makefile

diff --git a/make/Install_outfiles.sub.make b/make/Install_outfiles.sub.make
new file mode 100644 (file)
index 0000000..e89aba9
--- /dev/null
@@ -0,0 +1,19 @@
+
+# project  LilyPond -- the musical typesetter
+# title           generic red tape for include/Makefile
+# file    make/Include.make
+#
+# Copyright (c) 1997 by    
+#      Jan Nieuwenhuizen <jan@digicash.com>
+#      Han-Wen Nienhuys <hanwen@stack.nl>
+
+# identify module:
+#
+
+
+include $(depth)/make/Variables.make
+include $(depth)/make/Version.make 
+include $(depth)/make/Files.make
+include $(depth)/make/Targets.make
+include $(depth)/make/Rules.make
+include $(depth)/make/Install_outfiles.make
index 7be593edd5c5a12bc9bbfdcecd7a77d24262619d..0aebf0952c574c1953f8caae55dece9a5cca118b 100644 (file)
@@ -14,8 +14,8 @@ TEXFILES = $(wildcard *.tex)
 MFFILES = $(wildcard *.mf)
 EXTRA_DISTFILES =   TODO README  $(MFFILES)
 #
-lyout = $(depth)/init
-texout = $(depth)/tex
+lyout = $(outdir)/
+texout = $(outdir)/
 
 FONT_FILES = $(wildcard *[0-9].mf)
 FET_FILES = $(wildcard feta[0-9]*.mf)
@@ -45,6 +45,20 @@ $(lyout)/%.ly $(texout)/%.tex $(outdir)/%.dep: $(outdir)/%.log
        $(PYTHON) $(depth)/bin/mf-to-table.py --outdir=$(outdir) --dep $(outdir)/$(<F:.log=.dep) --ly $(lyout)/$(<F:.log=.ly) --tex $(texout)/$(<F:.log=.tex) $<
 
 
+lyouts:
+
+TEXINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(TEXDIR)/lilypond depth=.. INSTALLATION_OUT_FILES="$(TEXTABLES)" -f $(depth)/make/Install_outfiles.sub.make $@
+
+LYINSTALL=$(MAKE) depth=.. INSTALLATION_OUT_DIR=$(datadir)/lilypond INSTALLATION_OUT_FILES="$(LYTABLES)" -f $(depth)/make/Install_outfiles.sub.make $@
+
+localinstall:
+       $(TEXINSTALL)
+       $(LYINSTALL)
+
+localuninstall:
+       $(TEXINSTALL)
+       $(LYINSTALL)
+
 INSTALLATION_DIR=$(MFDIR)/public/lilypond
 INSTALLATION_FILES=$(MFFILES)