]> git.llucax.com Git - software/mutt-debian.git/blobdiff - doc/Makefile.am
debian/control: bumping Standards-Version to 3.8.4, nothing to be done, adding $...
[software/mutt-debian.git] / doc / Makefile.am
index 2490b7d793b110fd0acf6ddd38a346768c387848..1af0ee41579b214c3cbeb100171e6e0727c788ff 100644 (file)
@@ -29,9 +29,11 @@ EXTRA_DIST = dotlock.man             \
        makedoc.c makedoc-defs.h        \
        mutt.css mutt.xsl html.xsl chunk.xsl $(BUILT_DISTFILES)
 
-HTML_DOCFILES = manual.html index.html intro.html gettingstarted.html \
+CHUNKED_DOCFILES = index.html intro.html gettingstarted.html \
        configuration.html mimesupport.html advancedusage.html \
-       optionalfeatures.html tuning.html reference.html miscellany.html
+       optionalfeatures.html security.html tuning.html reference.html miscellany.html
+
+HTML_DOCFILES = manual.html $(CHUNKED_DOCFILES)
 
 BUILT_DISTFILES = stamp-doc-xml stamp-doc-chunked manual.txt $(HTML_DOCFILES)
 
@@ -118,7 +120,7 @@ stamp-doc-chunked: $(srcdir)/chunk.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir
        -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
        touch stamp-doc-chunked
 
-$(HTML_DOCFILES): stamp-doc-chunked
+$(CHUNKED_DOCFILES): stamp-doc-chunked
 
 manual.pdf: manual.tex
        -if test -f manual.tex; then pdfjadetex manual.tex; fi
@@ -135,6 +137,12 @@ spellcheck:
        -aspell -l en --mode sgml -c manual.xml.head && \
        -aspell -l en --mode nroff -c muttrc.man.head
 
+sortcheck: manual.xml
+       sed -n -e '1,/^<sect1 id="variables">/d' -e '1,/^<sect1 id="functions">/s/<sect2 id="\([^"]*\)">/\1/p' < manual.xml > vars.tmp.1
+       sort < vars.tmp.1 > vars.tmp.2
+       cmp -s vars.tmp.1 vars.tmp.2 || diff -u vars.tmp.1 vars.tmp.2 | less
+       rm -rf vars.tmp.1 vars.tmp.2
+
 clean-local:
        rm -f *~ *.html *.orig *.rej  stamp-doc-* *.ps mutt.1 muttrc.man
        rm -f *.aux *.log *.tex *.out