]> git.donarmstrong.com Git - lilypond.git/commitdiff
* GNUmakefile.in [$[builddir]/share/lilypond-force]: create the
authorPedro Kroger <kroeger@pedrokroeger.net>
Sat, 6 Nov 2004 10:54:57 +0000 (10:54 +0000)
committerPedro Kroger <kroeger@pedrokroeger.net>
Sat, 6 Nov 2004 10:54:57 +0000 (10:54 +0000)
        <package> directory in $[builddir]/share according with
        PACKAGE_NAME defined in the VERSION file.

ChangeLog
GNUmakefile.in

index f11faf1974dff3dcb9aaf8fee36cb3d08bde901f..14ceefa95422832f203a48285e597018022d6a12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
        * scm/output-gnome.scm: More fontconfig comment.
 
+2004-11-05  Pedro Kroger  <kroeger@pedrokroeger.net>
+
+       * GNUmakefile.in ($(builddir)/share/lilypond-force): create the
+       <package> directory in $(builddir)/share according with
+       PACKAGE_NAME defined in the VERSION file.
+
 2004-11-04  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * lily/beam.cc (rest_collision_callback): use local beam
index 8ede7e6cda93b154269ca7f27b3bbda9ffd57ee6..c60180d4b5fe13b9c1be0e8763c1c4d9ad34a52c 100644 (file)
@@ -18,6 +18,9 @@ SUBDIRS = buildscripts python scripts \
        vim 
 #
 
+include VERSION
+package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
+
 SCRIPTS = configure aclocal.m4 autogen.sh lexer-gcc-3.1.sh
 README_FILES = ChangeLog  COPYING DEDICATION ROADMAP THANKS 
 README_TXT_FILES = AUTHORS.txt README.txt INSTALL.txt NEWS.txt
@@ -96,14 +99,14 @@ CATALOGS = $(HELP_CATALOGS:lilypond=)
 $(builddir)/share/lilypond-force:
 # Preparing LilyPond tree for builddir exec
        cd $(builddir) && rm -rf lib share
-       mkdir -p $(builddir)/lib/lilypond
-       mkdir -p $(builddir)/share/lilypond
-       mkdir -p $(builddir)/share/lilypond/elisp
-       mkdir -p $(builddir)/share/lilypond/fonts
-       mkdir -p $(builddir)/share/lilypond/tex
-       cd $(builddir)/lib/lilypond && \
+       mkdir -p $(builddir)/lib/$(package)
+       mkdir -p $(builddir)/share/$(package)
+       mkdir -p $(builddir)/share/$(package)/elisp
+       mkdir -p $(builddir)/share/$(package)/fonts
+       mkdir -p $(builddir)/share/$(package)/tex
+       cd $(builddir)/lib/$(package) && \
                ln -s  ../../python/$(outconfbase) python
-       cd $(builddir)/share/lilypond && \
+       cd $(builddir)/share/$(package) && \
                ln -s $(abs-srcdir)/ly ly && \
                ln -s ../../mf/$(outconfbase) dvips && \
                ln -s ../../mf/$(outconfbase) afm && \
@@ -112,16 +115,16 @@ $(builddir)/share/lilypond-force:
                ln -s $(abs-srcdir)/ps && \
                ln -s ../../python/$(outconfbase) python && \
                ln -s $(abs-srcdir)/scm
-       cd $(builddir)/share/lilypond/tex && \
+       cd $(builddir)/share/$(package)/tex && \
                ln -s $(abs-srcdir)/tex source && \
                ln -s ../../../tex/$(outconfbase) tex-out && \
                ln -s ../../../mf/$(outconfbase) mf-out
-       cd $(builddir)/share/lilypond/fonts && \
+       cd $(builddir)/share/$(package)/fonts && \
                ln -s $(abs-srcdir)/mf source && \
                ln -s ../../../mf/$(outconfbase) afm && \
                ln -s ../../../mf/$(outconfbase) tfm && \
                ln -s ../../../mf/$(outconfbase) type1
-       cd $(builddir)/share/lilypond/elisp && \
+       cd $(builddir)/share/$(package)/elisp && \
                ln -sf ../../../elisp/$(outconfbase)/lilypond-words.el . && \
                ln -s $(abs-srcdir)/elisp/*.el .
        $(foreach i,$(CATALOGS), \