## value of DOCUMENTATION here.
documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation)
## value of DOCUMENTATION here.
documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation)
-README_TXT_FILES = AUTHORS.txt README.txt INSTALL.txt NEWS.txt
+TOPDOC_FILES=AUTHORS README INSTALL NEWS
+TOPDOC_TXT_FILES = $(addprefix $(top-build-dir)/Documentation/topdocs/$(outdir)/,$(addsuffix .txt,$(TOPDOC_FILES)))
PATCH_FILES = emacsclient.patch server.el.patch darwin.patch
EXTRA_DIST_FILES = VERSION .cvsignore SConstruct \
$(README_FILES) $(SCRIPTS) $(IN_FILES) $(PATCH_FILES)
PATCH_FILES = emacsclient.patch server.el.patch darwin.patch
EXTRA_DIST_FILES = VERSION .cvsignore SConstruct \
$(README_FILES) $(SCRIPTS) $(IN_FILES) $(PATCH_FILES)
echo '<html><body>Redirecting to the documentation index...</body></html>' >> $(outdir)/index.html
cd $(top-build-dir) && $(FIND) . -name '*.html' -print | $(footifymail) xargs $(footify)
echo '<html><body>Redirecting to the documentation index...</body></html>' >> $(outdir)/index.html
cd $(top-build-dir) && $(FIND) . -name '*.html' -print | $(footifymail) xargs $(footify)
tree-prefix = $(outdir)
tree-bin = $(tree-prefix)/bin
tree-lib = $(tree-prefix)/lib
tree-share = $(tree-prefix)/share
tree-prefix = $(outdir)
tree-bin = $(tree-prefix)/bin
tree-lib = $(tree-prefix)/lib
tree-share = $(tree-prefix)/share
-tree-share-prefix = $(tree-share)/lilypond/current
-tree-lib-prefix = $(tree-lib)/lilypond/current
+tree-share-prefix = $(tree-share)/lilypond/$(TOPLEVEL_VERSION)
+tree-share-prefix-current = $(tree-share)/lilypond/current
+tree-lib-prefix = $(tree-lib)/lilypond/$(TOPLEVEL_VERSION)
+tree-lib-prefix-current = $(tree-lib)/lilypond/current
build-dir-setup: $(tree-share-prefix)/lilypond-force
PO_FILES = $(call src-wildcard,$(src-depth)/po/*.po)
build-dir-setup: $(tree-share-prefix)/lilypond-force
PO_FILES = $(call src-wildcard,$(src-depth)/po/*.po)
mkdir -p $(tree-share-prefix)/dvips
mkdir -p $(tree-share-prefix)/elisp
mkdir -p $(tree-share-prefix)/fonts
mkdir -p $(tree-share-prefix)/dvips
mkdir -p $(tree-share-prefix)/elisp
mkdir -p $(tree-share-prefix)/fonts
- ln -sf ../../scripts/$(outconfbase)/convert-ly . && \
- ln -sf ../../scripts/$(outconfbase)/lilypond-book . && \
- ln -sf ../../scripts/$(outconfbase)/*.ly .
+ for i in abc2ly convert-ly etf2ly lilypond-book lilypond-invoke-editor midi2ly musicxml2ly; \
+ do ln -sf ../../scripts/$(outconfbase)/$$i . ; done
cd $(tree-lib-prefix) && \
ln -s ../../../../python/$(outconfbase) python
cd $(tree-share-prefix) && \
cd $(tree-lib-prefix) && \
ln -s ../../../../python/$(outconfbase) python
cd $(tree-share-prefix) && \
$(tree-share-prefix)/mf-link-tree link-mf-tree: $(tree-share-prefix)/lilypond-force
-rm -f $(tree-share-prefix)/fonts/{otf,svg,tfm,type1}/* && \
cd $(tree-share-prefix)/fonts/otf && \
$(tree-share-prefix)/mf-link-tree link-mf-tree: $(tree-share-prefix)/lilypond-force
-rm -f $(tree-share-prefix)/fonts/{otf,svg,tfm,type1}/* && \
cd $(tree-share-prefix)/fonts/otf && \
-cd $(tree-share-prefix)/fonts/svg && \
ln -s ../../../../../../mf/$(outconfbase)/*.svg .
-cd $(tree-share-prefix)/fonts/tfm && \
-cd $(tree-share-prefix)/fonts/svg && \
ln -s ../../../../../../mf/$(outconfbase)/*.svg .
-cd $(tree-share-prefix)/fonts/tfm && \