Changeset 5001:eddcca80b7ee for doc

Show
Ignore:
Timestamp:
2007-03-15 09:21:05 (21 months ago)
Author:
Christoph Berg <cb@…>
Branch:
default
Message:

Pull release date directly from Changelog.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/Makefile.am

    r4995 r5001  
    117117        (cd .. && $(MAKE) makedoc$(EXEEXT)) 
    118118 
    119 ../reldate.h: 
    120         (cd .. && $(MAKE) reldate.h) 
    121  
    122119update-doc: stamp-doc-xml stamp-doc-chunked manual.txt manual.html 
    123120 
     
    134131        $(EDIT) $(srcdir)/mutt.man > $@ 
    135132 
    136 stamp-doc-xml: ../makedoc$(EXEEXT) $(top_srcdir)/init.h manual.xml.head \ 
     133stamp-doc-xml: $(top_srcdir)/makedoc.c $(top_srcdir)/init.h manual.xml.head \ 
    137134               $(top_srcdir)/functions.h $(top_srcdir)/OPS* manual.xml.tail \ 
    138                $(top_srcdir)/VERSION ../reldate.h 
    139         ( date=`cut -d\" -f2 ../reldate.h`; \ 
     135               $(top_srcdir)/VERSION $(top_srcdir)/ChangeLog 
     136        $(MAKE) ../makedoc$(EXEEXT) # we do not want to rebuild the documentation in tarball builds 
     137        ( date=`head -n 1 $(top_srcdir)/ChangeLog | LC_ALL=C cut -d ' ' -f 1`; \ 
    140138          sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` ($$date)/" $(srcdir)/manual.xml.head ;\ 
    141139          $(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -s ;\