## value of DOCUMENTATION here.
documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation)
-SCRIPTS = configure autogen.sh
+SCRIPTS = configure autogen.sh smart-autogen.sh smart-configure.sh
README_FILES = COPYING DEDICATION ROADMAP THANKS HACKING
TOPDOC_FILES = AUTHORS INSTALL README NEWS
TOPDOC_TXT_FILES = $(addprefix $(top-build-dir)/Documentation/topdocs/$(outdir)/,$(addsuffix .txt,$(TOPDOC_FILES)))
#
include local.make
-local-dist: dist-toplevel-txt-files dist-changelog
-
-dist-changelog:
- if test -d $(top-src-dir)/.git ; then \
- cd $(top-src-dir) && git-whatchanged gub-2.9.29-2.. > $(distdir)/ChangeLog ; \
- else \
- cp $(top-src-dir)/ChangeLog $(distdir) ; \
- fi
+local-dist: dist-toplevel-txt-files
all: $(outdir)/VERSION
# need UTF8 setting in case this is hosted on a website.
echo -e 'AddDefaultCharset utf-8\nAddCharset utf-8 .html\nAddCharset utf-8 .en\nAddCharset utf-8 .nl\nAddCharset utf-8 .txt\n' > $(top-build-dir)/.htaccess
$(PYTHON) $(buildscript-dir)/mutopia-index.py -o $(outdir)/examples.html input/
- rm -rf $(outdir)/online-root
- rm -rf $(outdir)/offline-root
+ find $(outdir) -name '*-root' | xargs rm -rf
$(PYTHON) $(buildscript-dir)/www_post.py $(PACKAGE_NAME) $(TOPLEVEL_VERSION) $(buildscript-dir) $(top-build-dir)/Documentation/po/$(outdir) $(outdir) "$(WEB_TARGETS)"
- find $(outdir)/offline-root -type l -delete
+ find $(foreach t, $(WEB_TARGETS), $(outdir)/$(t)-root) -type l -delete
tree-prefix = $(outdir)
mkdir -p $(tree-share-prefix)/tex
cd $(tree-bin) && \
ln -sf ../../lily/$(outconfbase)/lilypond . && \
- for i in abc2ly convert-ly etf2ly lilypond-book lilypond-invoke-editor midi2ly musicxml2ly; \
+ for i in abc2ly convert-ly etf2ly lilymidi lilypond-book lilypond-invoke-editor midi2ly musicxml2ly; \
do ln -sf ../../scripts/$(outconfbase)/$$i . ; done
cd $(tree-lib-prefix) && \
ln -s ../../../../python/$(outconfbase) python