1 DOCSOURCES = $(shell find @top_srcdir@/src @top_srcdir@/include -name "*.[chl]") $(shell find @top_srcdir@/src @top_srcdir@/include -name "*.doc")
3 EXTRA_DIST = html Doxyfile.API Doxyfile.Examples Doxyfile.main \
4 modules.doc FAQ.doc index.doc footer.html simgrid_logo.png simgrid_modules.png
6 DISTCLEANFILES = api_index.doc
7 MAINTAINERCLEANFILES = html
10 simgrid_modules.map: simgrid_modules.fig
11 fig2dev -Lmap simgrid_modules.fig | sed 's/imagemap/simgrid_modules/g' | sed 's/\.gif/.png/' | grep -e IMG -e MAP -e AREA > simgrid_modules.map
13 simgrid_modules.png: simgrid_modules.fig
14 fig2dev -Lpng simgrid_modules.fig > simgrid_modules.png
16 html: $(DOCSOURCES) Doxyfile.API Doxyfile.Examples Doxyfile.main logcategories.doc simgrid_modules.map simgrid_modules.png
18 doxygen Doxyfile.main >/dev/null
19 doxygen Doxyfile.API >/dev/null
20 doxygen Doxyfile.Examples >/dev/null
21 @top_srcdir@/tools/doxygen/index_create.pl html/API/API.tag api_index.doc
22 cp @srcdir@/simgrid_logo.png @srcdir@/simgrid_modules.png html/
23 doxygen Doxyfile.API >/dev/null
24 doxygen Doxyfile.Examples >/dev/null
25 doxygen Doxyfile.main >/dev/null
26 # @cd html ; @top_srcdir@/tools/fix_doxygen2.pl `find . -name '*.html'`
27 # @rm -rf html/API html/examples
28 # for i in `find doc/html -name "*.html" -exec grep -l "group_[^_]" {} \;` ; do tools/fix_doxygen.pl $$i; rm $$i.bak; done
31 logcategories.doc: $(DOCSOURCES)
32 pwd=`pwd`; rm $$pwd/logcategories.doc; set -e; \
33 echo "/* Generated file, do not edit */" > $$pwd/logcategories.doc; \
34 echo "/** \addtogroup XBT_log_cats" >> $$pwd/logcategories.doc; \
35 echo " @{" >> $$pwd/logcategories.doc; \
36 cd @top_srcdir@/src; ./xbt_log_extract_hierarchy >> $$pwd/logcategories.doc; \
37 echo "@}*/" >> $$pwd/logcategories.doc;
40 @for file in `find html/ -type d` ; do \
41 echo "test -z \"$(prefix)/doc/simgrid/$$file\" || $(mkdir_p) \"$(prefix)/doc/simgrid/$$file\"";\
42 test -z "$(prefix)/doc/simgrid/$$file" || $(mkdir_p) "$(prefix)/doc/simgrid/$$file";\
44 @for file in `find html/ -type f` ; do \
45 echo " $(INSTALL_DATA) '$$file' '$(prefix)/doc/simgrid/$$file'";\
46 $(INSTALL_DATA) $$file $(prefix)/doc/simgrid/$$file ;\
50 for file in `find html/ -type f` ; do \
51 echo " rm -f '$(prefix)/doc/simgrid/$$file'";\
52 rm -f $(prefix)/doc/simgrid/$$file ;\