first attempt to documentation
authorJan Pospíšil <honik@ntc.zcu.cz>
Fri, 10 Aug 2007 16:33:26 +0000 (16:33 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Fri, 10 Aug 2007 16:33:26 +0000 (16:33 +0000)
org.glite.lb.common/Makefile
org.glite.lb.common/doc/C.dox [new file with mode: 0644]
org.glite.lb.common/doc/CPP.dox [new file with mode: 0644]

index a753989..ebf639f 100644 (file)
@@ -209,13 +209,19 @@ cjobid.c strmd5.c:
        cp -rv ${jobiddir}/src/jobid/*.h glite/jobid/
        cp -rv ${jobiddir}/src/jobid/*.[ch] .
 
-doc: events.tex status.tex
-
-install:
+doc: generate events.tex status.tex
+       cp ${top_srcdir}/doc/*.dox .
+       echo "PROJECT_NUMBER = ${version}" >> C.dox
+       echo "PROJECT_NUMBER = ${version}" >> CPP.dox
+       doxygen C.dox
+       doxygen CPP.dox
+
+install: doc
        mkdir -p ${PREFIX}/lib
        mkdir -p ${PREFIX}/share/doc/${package}-${version}
        ${INSTALL} -m 644 ${LTLIB} ${THRLTLIB} ${MAILDIR_LIB} ${PREFIX}/lib
        ${INSTALL} -m 644 ${top_srcdir}/LICENSE ${PREFIX}/share/doc/${package}-${version}
+       cp -r C CPP ${PREFIX}/share/doc/${package}-${version}
        if [ x${DOSTAGE} = xyes ]; then \
                mkdir -p ${PREFIX}/include/${globalprefix}/${lbprefix} ; \
                (cd ${top_srcdir}/interface && ${INSTALL} -m 644 ${HDRS} ${PREFIX}/include/${globalprefix}/${lbprefix}) ; \
diff --git a/org.glite.lb.common/doc/C.dox b/org.glite.lb.common/doc/C.dox
new file mode 100644 (file)
index 0000000..245f688
--- /dev/null
@@ -0,0 +1,17 @@
+PROJECT_NAME          = "Glite LB Common: C - Interface"
+OUTPUT_DIRECTORY      = C
+OPTIMIZE_OUTPUT_FOR_C = YES
+INPUT                 = ./events.h \
+                        ./jobstat.h \
+                        ../interface/context.h
+SHOW_DIRECTORIES      = NO
+FULL_PATH_NAMES       = NO
+EXTRACT_ALL           = YES
+PDF_HYPERLINKS        = YES
+USE_PDFLATEX          = YES
+MACRO_EXPANSION       = YES
+EXPAND_ONLY_PREDEF    = YES
+PREDEFINED            = _EDG_WLL_EVENT_COMMON 
+HAVE_DOT              = NO
+GENERATE_MAN          = YES
+MAN_LINKS             = NO
diff --git a/org.glite.lb.common/doc/CPP.dox b/org.glite.lb.common/doc/CPP.dox
new file mode 100644 (file)
index 0000000..6795a20
--- /dev/null
@@ -0,0 +1,13 @@
+PROJECT_NAME           = "Glite LB Common: CPP - Interface"
+OUTPUT_DIRECTORY       = CPP
+INPUT                  = Events.h \
+                         ../interface/LoggingExceptions.h
+SHOW_DIRECTORIES       = NO
+FULL_PATH_NAMES        = NO
+EXTRACT_ALL            = YES
+PDF_HYPERLINKS         = YES
+USE_PDFLATEX           = YES
+#HAVE_DOT               = YES
+#CALL_GRAPH             = YES
+GENERATE_MAN           = YES
+MAN_LINKS              = NO