2005-03-31 Jan Nieuwenhuizen <janneke@gnu.org>
+ * GNUmakefile.in (local-WWW-post): Restore .htaccess and .html
+ additions to website.
+
+ * Documentation/user/lilypond.tely: Remove reference to ps.gz.
+
* Documentation/user/macros.itexi: Fix @usermanref html links in
split documents: use @inforef.
@end ignore
@ifhtml
-This document is also available in @uref{../lilypond.ps.gz,gzipped
-PostScript} and @uref{../lilypond.pdf,PDF}.
+This document is also available in @uref{../lilypond.pdf,PDF}.
@end ifhtml
footifymail = MAILADDRESS=bug-lilypond@gnu.org
local-WWW-post:
+# 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' > $(builddir)/.htaccess
$(PYTHON) $(buildscript-dir)/mutopia-index.py -o $(builddir)/examples.html ./
cd $(builddir) && $(FIND) . -name '*.html' -print | $(footifymail) xargs $(footify)
cd $(builddir) && find . -name \*.html~ -print | xargs rm -f
> $(outdir)/weblist
echo '<META HTTP-EQUIV="refresh" content="0;URL=Documentation/out-www/index.html">' > $(builddir)/index.html
echo '<html><body>Redirecting to the documentation index...</body></html>' >> $(builddir)/index.html
+ cd $(builddir) && ls .htaccess *.html >> $(outdir)/weblist
cat $(outdir)/weblist | (cd $(builddir); GZIP=-9v tar -czf $(outdir)/web.tar.gz -T -)
share-prefix = $(builddir)/share
(delete-file pdf-name))
(format (current-error-port) (_ "Converting to `~a'...") pdf-name)
+ (newline (current-error-port))
(ly:system cmd)))
(define-public (postscript->png resolution papersizename name)