]> git.donarmstrong.com Git - lilypond.git/blobdiff - GNUmakefile.in
* stepmake/GNUmakefile.in (STEPMAKE_TEMPLATES):
[lilypond.git] / GNUmakefile.in
index ca00cdaffb57055691eac4e2bc93f3ea39ee8781..09830cffe143869e96592837fb17991204894bb2 100644 (file)
@@ -38,6 +38,7 @@ pfa-fonts:
        (cd $(builddir)/share/lilypond/fonts && \
                tar czvf ../../../$(outbase)/type1.tar.gz type1/*.pfa type1/fonts.* type1/lilypond.* )
 
+html-doc: web
 install-html-doc: 
        $(INSTALL) -m 755 -d $(local_package_docdir) 
        tar -C $(local_package_docdir)/ -xzf $(outdir)/web.tar.gz
@@ -54,14 +55,15 @@ final-install:
 
 web-ext = gz html midi pdf png txt ly
 
-local-WWW-post: 
-       $(footify) --index=./ `$(FIND) . -maxdepth 1 -name '*.html' -print`
-       $(footify-all-command)
+footify=$(PYTHON) $(step-bindir)/add-html-footer.py  --name $(PACKAGE_NAME) --version $(TOPLEVEL_VERSION)
+
+local-web-post: 
+       $(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 '<META HTTP-EQUIV="refresh" content="2;URL=Documentation/out-www/">' > $(builddir)/index.html
+       echo '<META HTTP-EQUIV="refresh" content="2;URL=Documentation/out-www/index.html">' > $(builddir)/index.html
        cd $(builddir) && ls *.html >> $(outdir)/weblist
        cat $(outdir)/weblist | (cd $(builddir); GZIP=-9v tar -czf $(outdir)/web.tar.gz  -T -)