~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002110857

« back to all changes in this revision

Viewing changes to doc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2009-06-17 17:17:28 UTC
  • mfrom: (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20090617171728-61dkl7w5fgn7ybdq
Tags: upstream-1.5.20
Import upstream version 1.5.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        makedoc.c makedoc-defs.h        \
30
30
        mutt.css mutt.xsl html.xsl chunk.xsl $(BUILT_DISTFILES)
31
31
 
32
 
HTML_DOCFILES = manual.html index.html intro.html gettingstarted.html \
 
32
CHUNKED_DOCFILES = index.html intro.html gettingstarted.html \
33
33
        configuration.html mimesupport.html advancedusage.html \
34
 
        optionalfeatures.html tuning.html reference.html miscellany.html
 
34
        optionalfeatures.html security.html tuning.html reference.html miscellany.html
 
35
 
 
36
HTML_DOCFILES = manual.html $(CHUNKED_DOCFILES)
35
37
 
36
38
BUILT_DISTFILES = stamp-doc-xml stamp-doc-chunked manual.txt $(HTML_DOCFILES)
37
39
 
118
120
        -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
119
121
        touch stamp-doc-chunked
120
122
 
121
 
$(HTML_DOCFILES): stamp-doc-chunked
 
123
$(CHUNKED_DOCFILES): stamp-doc-chunked
122
124
 
123
125
manual.pdf: manual.tex
124
126
        -if test -f manual.tex; then pdfjadetex manual.tex; fi
135
137
        -aspell -l en --mode sgml -c manual.xml.head && \
136
138
        -aspell -l en --mode nroff -c muttrc.man.head
137
139
 
 
140
sortcheck: manual.xml
 
141
        sed -n -e '1,/^<sect1 id="variables">/d' -e '1,/^<sect1 id="functions">/s/<sect2 id="\([^"]*\)">/\1/p' < manual.xml > vars.tmp.1
 
142
        sort < vars.tmp.1 > vars.tmp.2
 
143
        cmp -s vars.tmp.1 vars.tmp.2 || diff -u vars.tmp.1 vars.tmp.2 | less
 
144
        rm -rf vars.tmp.1 vars.tmp.2
 
145
 
138
146
clean-local:
139
147
        rm -f *~ *.html *.orig *.rej  stamp-doc-* *.ps mutt.1 muttrc.man
140
148
        rm -f *.aux *.log *.tex *.out