1 # Makefile.in generated by automake 1.10.1 from Makefile.am.
2 # doc/Makefile. Generated from Makefile.in by configure.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 pkgdatadir = $(datadir)/mutt
19 pkglibdir = $(libdir)/mutt
20 pkgincludedir = $(includedir)/mutt
21 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22 install_sh_DATA = $(install_sh) -c -m 644
23 install_sh_PROGRAM = $(install_sh) -c
24 install_sh_SCRIPT = $(install_sh) -c
25 INSTALL_HEADER = $(INSTALL_DATA)
26 transform = $(program_transform_name)
33 build_triplet = i486-pc-linux-gnu
34 host_triplet = i486-pc-linux-gnu
35 noinst_PROGRAMS = makedoc$(EXEEXT)
36 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
37 $(srcdir)/instdoc.sh.in TODO
38 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39 am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
40 $(top_srcdir)/m4/curslib.m4 $(top_srcdir)/m4/funcdecl.m4 \
41 $(top_srcdir)/m4/funcs.m4 $(top_srcdir)/m4/gettext.m4 \
42 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/gpgme.m4 \
43 $(top_srcdir)/m4/gssapi.m4 $(top_srcdir)/m4/iconv.m4 \
44 $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/progtest.m4 \
45 $(top_srcdir)/m4/types.m4 $(top_srcdir)/configure.ac
46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
49 CONFIG_HEADER = $(top_builddir)/config.h
50 CONFIG_CLEAN_FILES = instdoc.sh
51 PROGRAMS = $(noinst_PROGRAMS)
52 makedoc_SOURCES = makedoc.c
53 makedoc_OBJECTS = makedoc.$(OBJEXT)
54 makedoc_LDADD = $(LDADD)
55 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
56 depcomp = $(SHELL) $(top_srcdir)/depcomp
57 am__depfiles_maybe = depfiles
58 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
59 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
61 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
63 DIST_SOURCES = makedoc.c
66 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
67 ACLOCAL = ${SHELL} /home/nightolo/debian-pkg/mutt/mutt/missing --run aclocal-1.10
69 AMTAR = ${SHELL} /home/nightolo/debian-pkg/mutt/mutt/missing --run tar
71 AUTOCONF = ${SHELL} /home/nightolo/debian-pkg/mutt/mutt/missing --run autoconf
72 AUTOHEADER = ${SHELL} /home/nightolo/debian-pkg/mutt/mutt/missing --run autoheader
73 AUTOMAKE = ${SHELL} /home/nightolo/debian-pkg/mutt/mutt/missing --run automake-1.10
75 BUILD_INCLUDED_LIBINTL = no
76 CATALOGS = de.gmo eu.gmo ru.gmo it.gmo es.gmo uk.gmo fr.gmo pl.gmo nl.gmo cs.gmo id.gmo sk.gmo ko.gmo el.gmo zh_TW.gmo zh_CN.gmo pt_BR.gmo eo.gmo gl.gmo sv.gmo da.gmo lt.gmo tr.gmo ja.gmo hu.gmo et.gmo ca.gmo bg.gmo ga.gmo
79 CCDEPMODE = depmode=none
80 CFLAGS = -Wall -pedantic -Wno-long-long -Wall -g -O2
81 CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/VERSION
83 CPPFLAGS = -I/usr/include/qdbm -I/usr/include/qdbm -I/include -I$(top_srcdir)/intl
87 DEBUGGER = /usr/bin/gdb
88 DEFS = -DSYSCONFDIR=\"$(sysconfdir)\" -DBINDIR=\"$(bindir)\" -DHAVE_CONFIG_H=1
91 DOTLOCK_PERMISSION = 2755
92 DOTLOCK_TARGET = mutt_dotlock$(EXEEXT)
102 GMOFILES = de.gmo eu.gmo ru.gmo it.gmo es.gmo uk.gmo fr.gmo pl.gmo nl.gmo cs.gmo id.gmo sk.gmo ko.gmo el.gmo zh_TW.gmo zh_CN.gmo pt_BR.gmo eo.gmo gl.gmo sv.gmo da.gmo lt.gmo tr.gmo ja.gmo hu.gmo et.gmo ca.gmo bg.gmo ga.gmo
103 GMSGFMT = /usr/bin/msgfmt
105 GNUTLS_LIBS = -lgnutls
107 GPGME_CONFIG = /usr/bin/gpgme-config
108 GPGME_LIBS = -lgpgme -lgpg-error
110 INSTALL = /usr/bin/install -c
111 INSTALL_DATA = ${INSTALL} -m 644
112 INSTALL_PROGRAM = ${INSTALL}
113 INSTALL_SCRIPT = ${INSTALL}
114 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
119 INTL_LIBTOOL_SUFFIX_PREFIX =
121 KRB5CFGPATH = /usr/bin/krb5-config
124 LIBIMAP = -Limap -limap
125 LIBIMAPDEPS = $(top_srcdir)/imap/imap.h imap/libimap.a
130 MAKEINFO = ${SHELL} /home/nightolo/debian-pkg/mutt/mutt/missing --run makeinfo
131 MKDIR_P = /bin/mkdir -p
132 MKINSTALLDIRS = ../mkinstalldirs
133 MSGFMT = /usr/bin/msgfmt
134 MUTTLIBS = -lncursesw -lncursesw -L/usr/lib -Wall -g -O2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgnutls -lsasl2 -lgdbm
135 MUTT_LIB_OBJECTS = crypt-gpgme.o crypt-mod-pgp-gpgme.o crypt-mod-smime-gpgme.o pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o crypt-mod-pgp-classic.o smime.o crypt-mod-smime-classic.o remailer.o resize.o pop.o pop_lib.o pop_auth.o smtp.o bcache.o account.o mutt_socket.o mutt_tunnel.o mutt_ssl_gnutls.o mutt_sasl.o hcache.o md5.o mutt_idna.o
138 OPS = $(srcdir)/OPS $(srcdir)/OPS.MIX $(srcdir)/OPS.PGP $(srcdir)/OPS.SMIME $(srcdir)/OPS.CRYPT
139 OSPCAT = /usr/bin/ospcat
147 PGPAUX_TARGET = pgpring$(EXEEXT) pgpewrap$(EXEEXT)
148 PKG_CONFIG = /usr/bin/pkg-config
149 POFILES = de.po eu.po ru.po it.po es.po uk.po fr.po pl.po nl.po cs.po id.po sk.po ko.po el.po zh_TW.po zh_CN.po pt_BR.po eo.po gl.po sv.po da.po lt.po tr.po ja.po hu.po et.po ca.po bg.po ga.po
153 SENDMAIL = /usr/sbin/sendmail
156 SMIMEAUX_TARGET = smime_keys
159 USE_INCLUDED_LIBINTL = no
162 XGETTEXT = /usr/bin/xgettext
163 abs_builddir = /home/nightolo/debian-pkg/mutt/mutt/obj-i486-linux-gnu-patched/doc
164 abs_srcdir = /home/nightolo/debian-pkg/mutt/mutt/obj-i486-linux-gnu-patched/../doc
165 abs_top_builddir = /home/nightolo/debian-pkg/mutt/mutt/obj-i486-linux-gnu-patched
166 abs_top_srcdir = /home/nightolo/debian-pkg/mutt/mutt/obj-i486-linux-gnu-patched/..
168 am__include = include
171 am__tar = ${AMTAR} chof - "$$tardir"
172 am__untar = ${AMTAR} xf -
173 bindir = ${exec_prefix}/bin
174 build = i486-pc-linux-gnu
175 build_alias = i486-linux-gnu
180 datadir = ${datarootdir}
181 datarootdir = ${prefix}/share
182 docdir = /usr/share/doc
184 exec_prefix = ${prefix}
185 host = i486-pc-linux-gnu
191 includedir = ${prefix}/include
192 infodir = ${datarootdir}/info
193 install_sh = $(SHELL) /home/nightolo/debian-pkg/mutt/mutt/install-sh
194 libdir = ${exec_prefix}/lib
195 libexecdir = ${exec_prefix}/libexec
196 localedir = ${datarootdir}/locale
197 localstatedir = ${prefix}/var
198 mandir = /usr/share/man
199 mkdir_p = /bin/mkdir -p
200 oldincludedir = /usr/include
203 program_transform_name = s,x,x,
205 sbindir = ${exec_prefix}/sbin
206 sharedstatedir = ${prefix}/com
210 top_build_prefix = ../
214 AM_CPPFLAGS = -I. -I.. -I$(includedir) -I$(top_srcdir)
215 MAKEDOC_CPP = $(CPP) $(AM_CPPFLAGS) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C
216 EXTRA_DIST = dotlock.man \
221 applying-patches.txt \
233 Muttrc Muttrc.head stamp-doc-rc \
234 makedoc.c makedoc-defs.h \
235 mutt.css mutt.xsl html.xsl chunk.xsl $(BUILT_DISTFILES)
237 HTML_DOCFILES = manual.html index.html intro.html gettingstarted.html \
238 configuration.html mimesupport.html advancedusage.html \
239 optionalfeatures.html tuning.html reference.html miscellany.html
241 BUILT_DISTFILES = stamp-doc-xml stamp-doc-chunked manual.txt $(HTML_DOCFILES)
242 srcdir_DOCFILES = PGP-Notes.txt applying-patches.txt \
243 devel-notes.txt patch-notes.txt smime-notes.txt
245 topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog \
246 README NEWS TODO README.SECURITY README.SSL
248 DISTCLEANFILES = manual.txt manual.html manual.xml manual.pdf html \
251 EDIT = sed -e 's,@sysconfdir\@,$(sysconfdir),g' \
252 -e 's,@bindir\@,$(bindir),g' \
253 -e 's,@docdir\@,$(docdir),g'
258 .SUFFIXES: .c .o .obj
259 $(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps)
261 case '$(am__configure_deps)' in \
263 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
268 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
269 cd $(top_srcdir) && \
270 $(AUTOMAKE) --gnu doc/Makefile
272 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
275 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
277 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
278 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
281 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
282 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
284 $(top_srcdir)/configure: # $(am__configure_deps)
285 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
286 $(ACLOCAL_M4): # $(am__aclocal_m4_deps)
287 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
288 instdoc.sh: $(top_builddir)/config.status $(srcdir)/instdoc.sh.in
289 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
291 clean-noinstPROGRAMS:
292 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
293 makedoc$(EXEEXT): $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
294 @rm -f makedoc$(EXEEXT)
295 $(LINK) $(makedoc_OBJECTS) $(makedoc_LDADD) $(LIBS)
303 #include ./$(DEPDIR)/makedoc.Po
306 # $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
307 # mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
308 # source='$<' object='$@' libtool=no
309 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp)
313 # $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
314 # mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
315 # source='$<' object='$@' libtool=no
316 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp)
317 $(COMPILE) -c `$(CYGPATH_W) '$<'`
319 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
320 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
321 unique=`for i in $$list; do \
322 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
324 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
325 END { if (nonempty) { for (i in files) print i; }; }'`; \
329 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
330 $(TAGS_FILES) $(LISP)
333 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
334 unique=`for i in $$list; do \
335 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
337 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
338 END { if (nonempty) { for (i in files) print i; }; }'`; \
339 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
340 test -n "$$unique" || unique=$$empty_fix; \
341 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
345 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
346 $(TAGS_FILES) $(LISP)
348 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
349 unique=`for i in $$list; do \
350 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
352 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
353 END { if (nonempty) { for (i in files) print i; }; }'`; \
354 test -z "$(CTAGS_ARGS)$$tags$$unique" \
355 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
359 here=`$(am__cd) $(top_builddir) && pwd` \
360 && cd $(top_srcdir) \
361 && gtags -i $(GTAGS_ARGS) $$here
364 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
366 distdir: $(DISTFILES)
367 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
368 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
369 list='$(DISTFILES)'; \
370 dist_files=`for file in $$list; do echo $$file; done | \
371 sed -e "s|^$$srcdirstrip/||;t" \
372 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
373 case $$dist_files in \
374 */*) $(MKDIR_P) `echo "$$dist_files" | \
375 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
378 for file in $$dist_files; do \
379 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
380 if test -d $$d/$$file; then \
381 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
382 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
383 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
385 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
387 test -f $(distdir)/$$file \
388 || cp -p $$d/$$file $(distdir)/$$file \
394 all-am: Makefile $(PROGRAMS)
397 install-exec: install-exec-am
398 install-data: install-data-am
399 uninstall: uninstall-am
402 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
404 installcheck: installcheck-am
406 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
407 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
408 `test -z '$(STRIP)' || \
409 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
415 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
416 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
418 maintainer-clean-generic:
419 @echo "This command is intended for maintainers to use"
420 @echo "it deletes files that may require special tools to rebuild."
423 clean-am: clean-generic clean-local clean-noinstPROGRAMS \
426 distclean: distclean-am
429 distclean-am: clean-am distclean-compile distclean-generic \
442 install-data-am: install-data-local
444 install-dvi: install-dvi-am
448 install-html: install-html-am
450 install-info: install-info-am
454 install-pdf: install-pdf-am
456 install-ps: install-ps-am
460 maintainer-clean: maintainer-clean-am
463 maintainer-clean-am: distclean-am maintainer-clean-generic
465 mostlyclean: mostlyclean-am
467 mostlyclean-am: mostlyclean-compile mostlyclean-generic
477 uninstall-am: uninstall-local
479 .MAKE: install-am install-strip
481 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
482 clean-local clean-noinstPROGRAMS ctags distclean \
483 distclean-compile distclean-generic distclean-tags distdir dvi \
484 dvi-am html html-am info info-am install install-am \
485 install-data install-data-am install-data-local install-dvi \
486 install-dvi-am install-exec install-exec-am install-html \
487 install-html-am install-info install-info-am install-man \
488 install-pdf install-pdf-am install-ps install-ps-am \
489 install-strip installcheck installcheck-am installdirs \
490 maintainer-clean maintainer-clean-generic mostlyclean \
491 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
492 tags uninstall uninstall-am uninstall-local
497 makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt
499 install-data-local: makedoc-all instdoc
500 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
501 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man5
502 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
503 ./instdoc mutt.1 $(DESTDIR)$(mandir)/man1/mutt.1
504 ./instdoc smime_keys.1 $(DESTDIR)$(mandir)/man1/smime_keys.1
505 ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/flea.1
506 ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/muttbug.1
507 test xmutt_dotlock$(EXEEXT) = x || ./instdoc $(srcdir)/dotlock.man \
508 $(DESTDIR)$(mandir)/man1/mutt_dotlock.1
509 ./instdoc muttrc.man $(DESTDIR)$(mandir)/man5/muttrc.5
510 ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/mbox.5
511 ./instdoc $(srcdir)/mmdf.man $(DESTDIR)$(mandir)/man5/mmdf.5
512 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)
513 for f in $(topsrcdir_DOCFILES) ; do \
514 $(INSTALL) -m 644 $(top_srcdir)/$$f $(DESTDIR)$(docdir) ; \
516 for f in $(srcdir_DOCFILES) ; do \
517 $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir) ; \
519 -$(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir)
520 -for f in $(HTML_DOCFILES) ; do \
521 $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \
523 $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist
524 -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \
525 mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \
526 elif [ -f $(DESTDIR)$(pkgdatadir)/../Muttrc ] ; then \
527 mv $(DESTDIR)$(pkgdatadir)/../Muttrc* $(DESTDIR)$(sysconfdir) ; \
528 elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttrc ] ; then \
529 $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir) ; \
533 for f in mutt.1 mutt_dotlock.1 flea.1 muttbug.1 smime_keys.1; do \
534 rm -f $(DESTDIR)$(mandir)/man1/$$f ; \
536 for f in muttrc.5 mbox.5 mmdf.5 ; do \
537 rm -f $(DESTDIR)$(mandir)/man5/$$f ; \
539 for f in $(srcdir_DOCFILES) $(topsrcdir_DOCFILES) $(HTML_DOCFILES) ; \
541 rm -f $(DESTDIR)$(docdir)/$$f ; \
543 -rm -f $(DESTDIR)$(docdir)/manual.txt
544 for i in Muttrc ; do \
545 if cmp -s $(DESTDIR)$(sysconfdir)/$$i.dist $(DESTDIR)$(sysconfdir)/$$i ; then \
546 rm $(DESTDIR)$(sysconfdir)/$$i ; \
548 rm $(DESTDIR)$(sysconfdir)/$${i}.dist ; \
552 manual.txt: manual.html
553 links.main -dump $< > $@ || links -dump $< > $@ || \
554 LC_ALL=C lynx -dump -nolist -with_backspaces manual.html > $@ || \
555 LC_ALL=C w3m -dump manual.html > $@ || \
556 LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
560 stamp-doc-rc: $(top_srcdir)/init.h makedoc$(EXEEXT) $(srcdir)/Muttrc.head
561 -rm -f Muttrc stamp-doc-rc
562 sed -e 's,[@]docdir[@],$(docdir),' $(srcdir)/Muttrc.head > Muttrc
563 $(CPP) $(AM_CPPFLAGS) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C \
564 $(top_srcdir)/init.h | ./makedoc$(EXEEXT) -c >> Muttrc
567 manual.html: $(srcdir)/html.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
568 xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
570 stamp-doc-chunked: $(srcdir)/chunk.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
571 xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
572 touch stamp-doc-chunked
574 $(HTML_DOCFILES): stamp-doc-chunked
576 manual.pdf: manual.tex
577 -if test -f manual.tex; then pdfjadetex manual.tex; fi
579 manual.tex: stamp-doc-xml
580 -if test -n "$(DSLROOT)"; then \
581 openjade -t tex -D $(DSLROOT) -d print/docbook.dsl dtds/decls/xml.dcl manual.xml; \
584 validate: stamp-doc-xml
585 xmllint --noout --noblanks --postvalid manual.xml
588 -aspell -l en --mode sgml -c manual.xml.head && \
589 -aspell -l en --mode nroff -c muttrc.man.head
592 rm -f *~ *.html *.orig *.rej stamp-doc-* *.ps mutt.1 smime_keys.1 muttrc.man
593 rm -f *.aux *.log *.tex *.out
596 cat instdoc.sh > instdoc
599 update-doc: stamp-doc-xml stamp-doc-chunked stamp-doc-rc manual.txt manual.html
601 muttrc.man: makedoc$(EXEEXT) $(top_srcdir)/init.h muttrc.man.head muttrc.man.tail
602 $(MAKEDOC_CPP) $(top_srcdir)/init.h | ./makedoc$(EXEEXT) -m | \
603 cat $(srcdir)/muttrc.man.head - $(srcdir)/muttrc.man.tail\
606 mutt.1: $(srcdir)/mutt.man
607 $(EDIT) $(srcdir)/mutt.man > $@
609 smime_keys.1: $(srcdir)/smime_keys.man
610 $(EDIT) $(srcdir)/smime_keys.man > $@
612 stamp-doc-xml: makedoc$(EXEEXT) $(top_srcdir)/init.h \
613 manual.xml.head $(top_srcdir)/functions.h $(top_srcdir)/OPS* manual.xml.tail \
614 $(srcdir)/gen-map-doc $(top_srcdir)/VERSION $(top_srcdir)/ChangeLog
615 ( date=`head -n 1 $(top_srcdir)/ChangeLog | LC_ALL=C cut -d ' ' -f 1` && \
616 sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` ($$date)/" $(srcdir)/manual.xml.head && \
617 $(MAKEDOC_CPP) $(top_srcdir)/init.h | ./makedoc$(EXEEXT) -s && \
618 $(MAKEDOC_CPP) $(top_srcdir)/functions.h | \
619 perl $(srcdir)/gen-map-doc $(srcdir)/manual.xml.tail $(top_srcdir)/OPS* \
622 # Tell versions [3.59,3.63) of GNU make to not export all variables.
623 # Otherwise a system limit (for SysV at least) may be exceeded.