~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): Bhavani Shankar
  • Date: 2009-06-07 17:30:03 UTC
  • mto: (16.2.1 experimental) (2.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090607173003-rg37ui3h2bbv7wl0
Tags: upstream-1.5.19
ImportĀ upstreamĀ versionĀ 1.5.19

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