<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Generate menu binding documentation from functions.h



More automake fixes...

# HG changeset patch
# User Christoph Berg <cb@xxxxxxxx>
# Date 1173921152 -3600
# Node ID 0768aee5eb3d633f950d4ff75dabf94c4374427d
# Parent  99f7aa2bb5285cdfe00bb1f2884b202bf9507c9d
Add gen-map-doc to EXTRADIST, call using perl in srcdir, fix makedoc rules.

diff -r 99f7aa2bb528 -r 0768aee5eb3d doc/Makefile.am
--- a/doc/Makefile.am   Thu Mar 15 01:07:08 2007 +0100
+++ b/doc/Makefile.am   Thu Mar 15 02:12:32 2007 +0100
@@ -15,6 +15,7 @@ EXTRA_DIST = dotlock.man              \
        PGP-Notes.txt                   \
        applying-patches.txt            \
        devel-notes.txt                 \
+       gen-map-doc                     \
        muttrc.man.head                 \
        muttrc.man.tail                 \
        mbox.man                        \
@@ -39,7 +40,7 @@ topsrcdir_DOCFILES = COPYRIGHT GPL INSTA
        ChangeLog.old                                   \
        README NEWS TODO README.SECURITY README.SSL 
 
-all: ../makedoc$(EXEEXT)
+all:
        $(MAKE) makedoc-all
 
 makedoc-all: mutt.1 muttrc.man manual.html stamp-doc-chunked manual.txt
@@ -132,13 +133,12 @@ mutt.1: $(srcdir)/mutt.man
 mutt.1: $(srcdir)/mutt.man
        $(EDIT) $(srcdir)/mutt.man > $@
 
-stamp-doc-xml: $(top_srcdir)/makedoc.c $(top_srcdir)/init.h manual.xml.head \
-               $(top_srcdir)/functions.h $(wildcard $(top_srcdir)/OPS*) 
manual.xml.tail \
+stamp-doc-xml: ../makedoc$(EXEEXT) $(top_srcdir)/init.h manual.xml.head \
+               $(top_srcdir)/functions.h $(top_srcdir)/OPS* manual.xml.tail \
                $(top_srcdir)/VERSION ../reldate.h
-       $(MAKE) ../makedoc$(EXEEXT)
        ( date=`cut -d\" -f2 ../reldate.h`; \
          sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` ($$date)/" 
$(srcdir)/manual.xml.head ;\
          $(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -s ;\
-         ./gen-map-doc $(top_srcdir)/functions.h $(wildcard 
$(top_srcdir)/OPS*) < $(srcdir)/manual.xml.tail \
+         perl $(srcdir)/gen-map-doc $(top_srcdir)/functions.h 
$(top_srcdir)/OPS* < $(srcdir)/manual.xml.tail \
        ) > manual.xml
        touch stamp-doc-xml

Christoph
-- 
cb@xxxxxxxx | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature