From ecff412463355e3a9bbe18ed1cb1f8653f95d9b2 Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Fri, 11 Mar 2005 12:20:32 +0000
Subject: [PATCH] create .htaccess.

---
 ChangeLog      | 4 ++++
 GNUmakefile.in | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 4ae48c4b26..56c2adafc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-11  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+	* GNUmakefile.in: create .htaccess.
+
 2005-03-11  Jan Nieuwenhuizen  <janneke@gnu.org>
 
 	* Documentation/topdocs/NEWS.tely (Top): Fix text example.
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 89498a16f9..e6bd49b4d6 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -72,6 +72,13 @@ footify = $(PYTHON) $(step-bindir)/add-html-footer.py  --name $(PACKAGE_NAME) --
 footifymail = MAILADDRESS=bug-lilypond@gnu.org
 
 local-WWW-post:
+# need UTF8 setting in case this is hosted on a website. 
+	echo 'AddDefaultCharset utf-8\
+AddCharset utf-8 .html\
+AddCharset utf-8 .en\
+AddCharset utf-8 .nl\
+AddCharset utf-8 .txt' > .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
-- 
2.39.5