From: Pedro Kroger Date: Sat, 6 Nov 2004 10:54:57 +0000 (+0000) Subject: * GNUmakefile.in [$[builddir]/share/lilypond-force]: create the X-Git-Tag: release/2.4.2~3^2~7 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b7dad4e0774542d025d0c7e7c789474b5f087575;p=lilypond.git * GNUmakefile.in [$[builddir]/share/lilypond-force]: create the directory in $[builddir]/share according with PACKAGE_NAME defined in the VERSION file. --- diff --git a/ChangeLog b/ChangeLog index f11faf1974..14ceefa954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,12 @@ * scm/output-gnome.scm: More fontconfig comment. +2004-11-05 Pedro Kroger + + * GNUmakefile.in ($(builddir)/share/lilypond-force): create the + directory in $(builddir)/share according with + PACKAGE_NAME defined in the VERSION file. + 2004-11-04 Han-Wen Nienhuys * lily/beam.cc (rest_collision_callback): use local beam diff --git a/GNUmakefile.in b/GNUmakefile.in index 8ede7e6cda..c60180d4b5 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -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), \