X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=GNUmakefile.in;h=1c42d31020676f9b92a0cf5da29257d1e133111b;hb=faa321a434f79a67b570f999afd7bd3467517ff3;hp=542c232167dfc325c857dfa6d3413985ad7c89a1;hpb=b22e169e712aeeb006fe55f7a4196f739493ad94;p=lilypond.git diff --git a/GNUmakefile.in b/GNUmakefile.in index 542c232167..1c42d31020 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -17,10 +17,10 @@ SUBDIRS = buildscripts python scripts \ # SCRIPTS = configure aclocal.m4 autogen.sh -README_FILES = ChangeLog COPYING DEDICATION NEWS README.mandrake ROADMAP THANKS -README_TXT_FILES = AUTHORS.txt README.txt INSTALL.txt +README_FILES = ChangeLog COPYING DEDICATION README.mandrake ROADMAP THANKS +README_TXT_FILES = AUTHORS.txt README.txt INSTALL.txt NEWS.txt IN_FILES := $(wildcard *.in) -EXTRA_DIST_FILES = $(wildcard *.el) vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES) emacsclient.patch lexer-gcc-3.0.patch server.el.patch darwin.patch .cvsignore lexer-gcc-3.1.sh lilypond.words +EXTRA_DIST_FILES = $(wildcard *.el) vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES) emacsclient.patch server.el.patch darwin.patch .cvsignore lexer-gcc-3.1.sh lilypond.words NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES) INSTALLATION_DIR=$(local_lilypond_datadir) INSTALLATION_FILES=$(config_make) VERSION @@ -39,7 +39,7 @@ pfa-fonts: tar czvf ../../../$(outbase)/type1.tar.gz type1/*.pfa type1/fonts.* type1/lilypond.* ) web-install: - $(INSTALL) -m 755 -d $(webdir) + -$(INSTALL) -m 755 -d $(webdir) tar -C $(webdir)/ -xzf $(outdir)/web.tar.gz local-install: @@ -54,18 +54,24 @@ final-install: web-ext = gz html midi pdf png txt ly -footify=$(PYTHON) $(step-bindir)/add-html-footer.py --name $(PACKAGE_NAME) --version $(TOPLEVEL_VERSION) +footify = MAILADDRESS=bug-lilypond@gnu.org $(PYTHON) $(step-bindir)/add-html-footer.py --name $(PACKAGE_NAME) --version $(TOPLEVEL_VERSION) -local-web-post: - $(footify) `$(FIND) . -name '*.html' -print` +bla: + cd $(builddir) && $(footify) `$(FIND) . -name '*.html' -print` + +local-WWW-post: + $(PYTHON) $(buildscript-dir)/mutopia-index.py -o $(builddir)/examples.html ./ + cd $(builddir) && $(footify) `$(FIND) . -name '*.html' -print` cd $(builddir) && rm -f `find . -name \*.html~ -print` cd $(builddir) && find Documentation input \ $(web-ext:%=-path '*/out-www/*.%' -or) -false \ > $(outdir)/weblist - echo '' > $(builddir)/index.html + echo '' > $(builddir)/index.html + echo 'Redirecting to the documentation index...' >> $(builddir)/index.html cd $(builddir) && ls *.html >> $(outdir)/weblist cat $(outdir)/weblist | (cd $(builddir); GZIP=-9v tar -czf $(outdir)/web.tar.gz -T -) + src-ext = c cc yy ll hh icc py scm tex ps texi itexi tely itely sh ALL-TAGS: @@ -133,3 +139,10 @@ $(config_h): configure.in aclocal.m4 @echo ' rm $(config_h); ./autogen.sh' @echo @false + + +# maybe move into private script? +rsync-web: + cd out-www && mkdir web && tar -xzf web.tar.gz -C web + cd out-www/web && rsync --delete --stats --progress -lavu -e ssh . x:/var/www/lilypond/doc/v1.8/ + cd out-www && rm -rf web/