Integration with plain makefiles

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Integration with plain makefiles

Paulo Benatto
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"

_______________________________________________
gtk-doc-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-doc-list