~ubuntu-branches/ubuntu/precise/mutt/precise

« back to all changes in this revision

Viewing changes to doc/Makefile.in

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2010-12-17 14:28:28 UTC
  • mfrom: (16.2.3 experimental)
  • Revision ID: package-import@ubuntu.com-20101217142828-ve8yy0xf1zomtnx9
Tags: 1.5.21-1ubuntu1
* Merge with Debian experimental (LP: #691512), remaining changes:
  + debian/control, debian/patches/debian-specific/build_doc_adjustments.diff:
    Use w3m (main) instead of elinks (universe) for generating documentation.
  + Drop libtokyocabinet-dev (universe) from Build-Depends, use always
    libgdbm-dev and also use gdbm for the header cache backend. (lp: #607448)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11.1 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
143
143
PACKAGE_NAME = @PACKAGE_NAME@
144
144
PACKAGE_STRING = @PACKAGE_STRING@
145
145
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
146
PACKAGE_URL = @PACKAGE_URL@
146
147
PACKAGE_VERSION = @PACKAGE_VERSION@
147
148
PATH_SEPARATOR = @PATH_SEPARATOR@
148
149
PGPAUX_TARGET = @PGPAUX_TARGET@
214
215
AM_CPPFLAGS = -I. -I.. -I$(includedir) -I$(top_srcdir)
215
216
MAKEDOC_CPP = $(CPP) $(AM_CPPFLAGS) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C
216
217
EXTRA_DIST = dotlock.man                \
 
218
        smime_keys.man                  \
217
219
        muttbug.man                     \
218
220
        mutt.man                        \
219
221
        PGP-Notes.txt                   \
265
267
              exit 1;; \
266
268
          esac; \
267
269
        done; \
268
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
 
270
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
269
271
        $(am__cd) $(top_srcdir) && \
270
 
          $(AUTOMAKE) --gnu doc/Makefile
 
272
          $(AUTOMAKE) --foreign doc/Makefile
271
273
.PRECIOUS: Makefile
272
274
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
273
275
        @case '$?' in \
517
519
 
518
520
all: makedoc-all
519
521
 
520
 
makedoc-all: mutt.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt
 
522
makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt
521
523
 
522
524
install-data-local: makedoc-all instdoc
523
525
        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
524
526
        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man5
525
527
        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
526
528
        ./instdoc mutt.1 $(DESTDIR)$(mandir)/man1/mutt.1
 
529
        ./instdoc smime_keys.1 $(DESTDIR)$(mandir)/man1/smime_keys.1
527
530
        ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/flea.1
528
531
        ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/muttbug.1
529
532
        test x@DOTLOCK_TARGET@ = x || ./instdoc $(srcdir)/dotlock.man \
552
555
        fi
553
556
 
554
557
uninstall-local:
555
 
        for f in mutt.1 mutt_dotlock.1 flea.1 muttbug.1 ; do \
 
558
        for f in mutt.1 mutt_dotlock.1 flea.1 muttbug.1 smime_keys.1; do \
556
559
                rm -f $(DESTDIR)$(mandir)/man1/$$f ; \
557
560
        done
558
561
        for f in muttrc.5 mbox.5 mmdf.5 ; do \
572
575
 
573
576
check:
574
577
manual.txt: manual.html
575
 
        -LC_ALL=C lynx -dump -nolist -with_backspaces manual.html > $@ || \
 
578
        -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \
576
579
        LC_ALL=C w3m -dump manual.html > $@ || \
577
580
        LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
578
581
 
606
609
        xmllint --noout --noblanks --postvalid manual.xml
607
610
 
608
611
spellcheck:
609
 
        -aspell -l en --mode sgml -c manual.xml.head && \
610
 
        -aspell -l en --mode nroff -c muttrc.man.head
 
612
        -aspell -d american --mode=sgml  --encoding=utf-8 -p $(srcdir)/mutt.pwl check manual.xml.head
 
613
        -aspell -d american --mode=nroff --encoding=utf-8 -p $(srcdir)/mutt.pwl check muttrc.man.head
 
614
        -aspell -d american --mode=ccpp  --encoding=utf-8 -p $(srcdir)/mutt.pwl check $(top_srcdir)/init.h
611
615
 
612
616
sortcheck: manual.xml
613
617
        sed -n -e '1,/^<sect1 id="variables">/d' -e '1,/^<sect1 id="functions">/s/<sect2 id="\([^"]*\)">/\1/p' < manual.xml > vars.tmp.1
616
620
        rm -rf vars.tmp.1 vars.tmp.2
617
621
 
618
622
clean-local:
619
 
        rm -f *~ *.html *.orig *.rej  stamp-doc-* *.ps mutt.1 muttrc.man
 
623
        rm -f *~ *.html *.orig *.rej  stamp-doc-* *.ps mutt.1 smime_keys.1 muttrc.man
620
624
        rm -f *.aux *.log *.tex *.out
621
625
 
622
626
instdoc: instdoc.sh
633
637
mutt.1: $(srcdir)/mutt.man
634
638
        $(EDIT) $(srcdir)/mutt.man > $@
635
639
 
 
640
smime_keys.1: $(srcdir)/smime_keys.man
 
641
        $(EDIT) $(srcdir)/smime_keys.man > $@
 
642
 
636
643
stamp-doc-xml: makedoc$(EXEEXT) $(top_srcdir)/init.h \
637
644
               manual.xml.head $(top_srcdir)/functions.h $(top_srcdir)/OPS* manual.xml.tail \
638
645
               $(srcdir)/gen-map-doc $(top_srcdir)/VERSION $(top_srcdir)/ChangeLog