Integration with plain makefiles



Hi,

I'm new in gtk-doc and I'm trying to use it with plain makefiles. When I add GTK-Doc comment block in my code nothing happens. Any tips?

This is my example, and this comment should appear in my html.
/**
 * SECTION:fb_session
 * @short_description: The FbSession Class.
 * @title: FbSession Class
 * @stability: Unstable
 * @include: fb/fb-session.h
 *
 * FbSession reference for call states.
 *
 */


=========== My test (Makefile) =======================================
DOC_MODULE="fb"

HTMLDIR="html"
XMLDIR="xml"
SRCDIR="../../src"

all: $(OBJ)
    cd ${DOCDIR}
    gtkdoc-scan --module=${DOC_MODULE} --source-dir=${SRCDIR}
    gtkdoc-mkdb --module=${DOC_MODULE} --output-format=xml
    mkdir ${HTMLDIR}
    cd ${HTMLDIR} && gtkdoc-mkhtml $(DOC_MODULE) ../fb-docs.xml
    cd ..
    gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir="html"

clean:
    $(RM) -rf fb* *.stamp ${HTMLDIR} ${XMLDIR}
=======================================================

regards,

--
Paulo Leonardo Benatto, patito
"the fear of being free, makes you proud of being a slave"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]