commit:     47757f3629f1be70a6c569f88bda03c19b1d7bd6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 20 14:05:04 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 20 14:05:04 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=47757f36

Strip comments from generated html documentation.

* Makefile.am (%.html): Strip comments from html output, in order
to suppress wrong mode information in Emacs local variables.

---
 ChangeLog   | 5 +++++
 Makefile.am | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0566eeb..9ae8fe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-20  Ulrich Müller  <[email protected]>
+
+       * Makefile.am (%.html): Strip comments from html output, in order
+       to suppress wrong mode information in Emacs local variables.
+
 2014-03-14  Ulrich Müller  <[email protected]>
 
        * libs/output.bash.in (write_kv_list_entry): Don't output spurious

diff --git a/Makefile.am b/Makefile.am
index ead15e5..8416512 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,7 +19,7 @@ html: $(foreach f, $(doc_files), $(f).html)
        cd doc && $(MAKE) html
 
 %.html: %
-       @RST2HTML@ < $? > $@
+       @RST2HTML@ --strip-comments < $? > $@
 
 maintainer-clean-local:
        -rm -rf config

Reply via email to