~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): Antonio Radici
  • Date: 2009-06-14 20:53:18 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (2.1.3 squeeze)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20090614205318-wf0sqy1o3km636li
Tags: 1.5.20-1
* New upstream release, includes the following features:
  + Bounced messages contains From: headers (Closes: 93268)
  + Attachments displayed based on Content-Disposition (Closes: 199709)
  + fcc to a mailbox does not raise the 'new' flag (Closes: 209390)
  + '!' supported as suffix in gpg keys (Closes: 277945)
  + failed attachment saving shows an error message (Closes: 292350)
  + inline signed messages sent honouring $send_charset (Closes: 307819)
  + support for <clear-flag> and <set-flag> in the pager (Closes: 436007)
  + fcc_attach is a quad option (Closes: 478861)
  + Content-Description header not included in reply (Closes: 500766)
  + imap_sync_mailbox fix for a segfault (Closes: 516364)
  + better threading support with particular Message-ID's (Closes: 520735)
  + no crash on IMAP folder refresh (Closes: 528465)
  + undisclosed-recipients not passed in the envelope (Closes: 529090)
* debian/patches/series:
  + commented all references to upstream/*, they should be included in 1.5.20
  + removed debian-specific/529838-gnutls-autoconf.patch, ditto
  + removed misc/manpage-typos.patch, ditto 
  + modified misc/hyphen-as-minus.patch, a big part was integrated upstream
  + features/trash-folder: do not reupload messages to $trash if IMAP is used
    (Closes: #448241)
  + added misc/hg.pmdef.debugtime, see upstream #3263
* debian/control: added DM-Upload-Allowed: yes

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        smime-notes.txt                 \
28
28
        Muttrc Muttrc.head stamp-doc-rc \
29
29
        makedoc.c makedoc-defs.h        \
30
 
        db-cleanup.xsl                  \
31
 
        html.xsl chunk.xsl $(BUILT_DISTFILES)
 
30
        mutt.css mutt.xsl html.xsl chunk.xsl $(BUILT_DISTFILES)
32
31
 
33
 
HTML_DOCFILES = manual.html index.html intro.html gettingstarted.html \
 
32
CHUNKED_DOCFILES = index.html intro.html gettingstarted.html \
34
33
        configuration.html mimesupport.html advancedusage.html \
35
 
        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)
36
37
 
37
38
BUILT_DISTFILES = stamp-doc-xml stamp-doc-chunked manual.txt $(HTML_DOCFILES)
38
39
 
40
41
        devel-notes.txt patch-notes.txt smime-notes.txt
41
42
 
42
43
topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog    \
43
 
        ChangeLog.old                                   \
44
44
        README NEWS TODO README.SECURITY README.SSL 
45
45
 
46
46
all: makedoc-all
54
54
        ./instdoc mutt.1 $(DESTDIR)$(mandir)/man1/mutt.1
55
55
        ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/flea.1
56
56
        ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/muttbug.1
57
 
        ./instdoc $(srcdir)/dotlock.man \
 
57
        test x@DOTLOCK_TARGET@ = x || ./instdoc $(srcdir)/dotlock.man \
58
58
                $(DESTDIR)$(mandir)/man1/mutt_dotlock.1
59
59
        ./instdoc muttrc.man $(DESTDIR)$(mandir)/man5/muttrc.5
60
60
        ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/mbox.5
99
99
        done
100
100
 
101
101
check:
102
 
manual.txt: manual.html db-cleanup.xsl
103
 
        -xsltproc --nonet -o manual-txt.html $(srcdir)/db-cleanup.xsl manual.html || cp manual.html manual-txt.html
104
 
        -lynx -dump -nolist -with_backspaces manual-txt.html > $@ || \
105
 
        w3m -dump manual-txt.html > $@ || \
106
 
        elinks -dump -no-numbering -no-references manual-txt.html > $@
 
102
manual.txt: manual.html
 
103
        -LC_ALL=C lynx -dump -nolist -with_backspaces manual.html > $@ || \
 
104
        LC_ALL=C w3m -dump manual.html > $@ || \
 
105
        LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
107
106
 
108
107
Muttrc: stamp-doc-rc
109
108
 
114
113
          $(top_srcdir)/init.h | ./makedoc$(EXEEXT) -c >> Muttrc
115
114
        touch stamp-doc-rc
116
115
 
117
 
manual.html: $(srcdir)/html.xsl stamp-doc-xml
 
116
manual.html: $(srcdir)/html.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
118
117
        -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
119
118
 
120
 
stamp-doc-chunked: $(srcdir)/chunk.xsl stamp-doc-xml
 
119
stamp-doc-chunked: $(srcdir)/chunk.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
121
120
        -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
122
121
        touch stamp-doc-chunked
123
122
 
124
 
$(HTML_DOCFILES): stamp-doc-chunked
 
123
$(CHUNKED_DOCFILES): stamp-doc-chunked
125
124
 
126
125
manual.pdf: manual.tex
127
126
        -if test -f manual.tex; then pdfjadetex manual.tex; fi
134
133
validate: stamp-doc-xml
135
134
        xmllint --noout --noblanks --postvalid manual.xml
136
135
 
 
136
spellcheck:
 
137
        -aspell -l en --mode sgml -c manual.xml.head && \
 
138
        -aspell -l en --mode nroff -c muttrc.man.head
 
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
 
137
146
clean-local:
138
147
        rm -f *~ *.html *.orig *.rej  stamp-doc-* *.ps mutt.1 muttrc.man
139
148
        rm -f *.aux *.log *.tex *.out