X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=GNUmakefile.in;h=574cf4b7b1036ca3e7297355c4dfd451845483a2;hb=5d4dac8980f796c7e4c97f1a4f19822c0fc4fff7;hp=3d84a8363c2f0f237328dc37a46ee067f9cc8fd0;hpb=078703a6ab29f75983a55ac2cc35fe5f315da574;p=lilypond.git diff --git a/GNUmakefile.in b/GNUmakefile.in index 3d84a8363c..574cf4b7b1 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -81,8 +81,10 @@ local-WWW-post: cd $(top-build-dir) && ls *.html >> $(outdir)/weblist cat $(outdir)/weblist | (cd $(top-build-dir); GZIP=-9v tar -czf $(outdir)/web.tar.gz -T -) -share-prefix = $(top-build-dir)/share -tree-prefix = $(top-build-dir)/share/lilypond/$(TOPLEVEL_VERSION) +#share-prefix = $(top-build-dir)/share +#tree-prefix = $(top-build-dir)/share/lilypond/$(TOPLEVEL_VERSION) +share-prefix = $(outdir)/share +tree-prefix = $(share-prefix)/lilypond/$(TOPLEVEL_VERSION) src-ext = c cc yy ll hh icc py scm tex ps texi itexi tely itely sh @@ -100,8 +102,8 @@ CATALOGS = $(HELP_CATALOGS:lilypond=) $(tree-prefix)/lilypond-force link-tree: GNUmakefile # Preparing LilyPond tree for build-dir exec - cd $(top-build-dir) && rm -rf lib share - mkdir -p $(top-build-dir)/lib/$(package) + cd $(top-build-dir)/$(outbase) && rm -rf lib share + mkdir -p $(top-build-dir)/$(outbase)/lib/$(package) mkdir -p $(tree-prefix) mkdir -p $(tree-prefix)/dvips mkdir -p $(tree-prefix)/elisp @@ -113,40 +115,40 @@ $(tree-prefix)/lilypond-force link-tree: GNUmakefile mkdir -p $(tree-prefix)/fonts/map mkdir -p $(tree-prefix)/fonts/enc mkdir -p $(tree-prefix)/tex - cd $(top-build-dir)/lib && \ - ln -s ../../../python/$(outconfbase) python + cd $(top-build-dir)/$(outbase)/lib && \ + ln -s ../../../../python/$(outconfbase) python cd $(tree-prefix) && \ ln -s $(top-src-dir)/ly ly && \ - ln -s ../../../mf mf && \ + ln -s ../../../../mf mf && \ ln -s $(top-src-dir)/ps && \ - ln -s ../../../python/$(outconfbase) python && \ + ln -s ../../../../python/$(outconfbase) python && \ ln -s $(top-src-dir)/scm && \ ln -s $(top-src-dir)/scripts scripts cd $(tree-prefix)/dvips && \ - ln -s ./../../mf/$(outconfbase) mf-out && \ + ln -s ./../../../mf/$(outconfbase) mf-out && \ ln -s $(top-src-dir)/ps cd $(tree-prefix)/tex && \ ln -s $(top-src-dir)/tex source && \ - ln -s ../../../../tex/$(outconfbase) tex-out && \ - ln -s ../../../../mf/$(outconfbase) mf-out + ln -s ../../../../../tex/$(outconfbase) tex-out && \ + ln -s ../../../../../mf/$(outconfbase) mf-out -cd $(tree-prefix)/fonts/otf && \ - ln -s ../../../../../mf/$(outconfbase)/*.otf . + ln -s ../../../../../../mf/$(outconfbase)/*.otf . -cd $(tree-prefix)/fonts/svg && \ - ln -s ../../../../../mf/$(outconfbase)/*.svg . + ln -s ../../../../../../mf/$(outconfbase)/*.svg . -cd $(tree-prefix)/fonts/tfm && \ - ln -s ../../../../../mf/$(outconfbase)/*.tfm . + ln -s ../../../../../../mf/$(outconfbase)/*.tfm . -cd $(tree-prefix)/fonts/type1 && \ - ln -s ../../../../../mf/$(outconfbase)/*.pfa . + ln -s ../../../../../../mf/$(outconfbase)/*.pfa . cd $(tree-prefix)/fonts && \ ln -s $(top-src-dir)/mf source && \ true -cd $(tree-prefix)/elisp && \ - ln -sf ../../../../../elisp/$(outconfbase)/lilypond-words.el . && \ + ln -sf ../../../../../../elisp/$(outconfbase)/lilypond-words.el . && \ ln -s $(top-src-dir)/elisp/*.el . $(foreach i,$(CATALOGS), \ mkdir -p $(share-prefix)/locale/$i/LC_MESSAGES && \ cd $(share-prefix)/locale/$i/LC_MESSAGES && \ - ln -sf ../../../../po/$(outconfbase)/$i.mo lilypond.mo &&) true + ln -sf ../../../../../po/$(outconfbase)/$i.mo lilypond.mo &&) true # touch $@ touch $(tree-prefix)/lilypond-force