]> git.donarmstrong.com Git - lilypond.git/blobdiff - GNUmakefile.in
Do not dist non-existent ChangeLog.
[lilypond.git] / GNUmakefile.in
index d405a7668a197d57e4a5eedbef98ac35c74a483b..0e363b1c965d4baeb1f2c30603c1edb741199203 100644 (file)
@@ -43,7 +43,20 @@ $(outdir)/VERSION: $(config_make) VERSION
        -mkdir -p $(outdir)
        echo $(TOPLEVEL_VERSION) > $@
 
-dist-toplevel-txt-files:
+ChangeLog: $(outdir)/VERSION
+       @echo 'See http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=log;h=refs/tags/release/$(TOPLEVEL_VERSION)-1' > ChangeLog
+
+python-modules:
+       $(MAKE) -C python
+
+do-top-doc: python-modules
+
+local-clean: local-clean-ChangeLog
+
+local-clean-ChangeLog:
+       rm -f ChangeLog
+
+dist-toplevel-txt-files: do-top-doc
        -mkdir -p $(distdir)
        ln $(TOPDOC_TXT_FILES) $(distdir)/
        ln $(top-src-dir)/stepmake/aclocal.m4 $(distdir)/
@@ -59,12 +72,17 @@ install-help2man:
 # installed in non-recursing target from TOP-SRC-DIR
 install-WWW:
        -$(INSTALL) -m 755 -d $(DESTDIR)$(webdir)
-       rsync -rl $(outdir)/offline-root/ $(DESTDIR)$(webdir)
+       rsync -rl --exclude='*.signature' $(outdir)/offline-root/ $(DESTDIR)$(webdir)
+
+install-info-WWW:
        $(MAKE) -C Documentation/user install-info
        $(MAKE) -C input/lsr install-info
+       (cd $(DESTDIR)$(infodir) && rm -f lilypond && ln -sf $(shell $(PYTHON) $(buildscript-dir)/relative $(DESTDIR)$(webdir)/Documentation/user) lilypond)
+       (cd $(DESTDIR)$(infodir) && rm -f lilypond-snippets && ln -sf $(shell $(PYTHON) $(buildscript-dir)/relative $(DESTDIR)$(webdir)/input/lsr) lilypond-snippets)
 
 web-install:
        $(MAKE) out=www install-WWW
+       $(MAKE) out=www install-info-WWW
 
 uninstall-WWW:
        rm -rf $(DESTDIR)$(webdir)