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 FAQ.doc index.doc footer.html simgrid_logo.png simgrid_modules.jpg
6 DISTCLEANFILES = api_index.doc
7 MAINTAINERCLEANFILES = html
10 html: $(DOCSOURCES) Doxyfile.API Doxyfile.Examples Doxyfile.main
12 doxygen Doxyfile.main >/dev/null
13 doxygen Doxyfile.API >/dev/null
14 doxygen Doxyfile.Examples >/dev/null
15 @top_srcdir@/tools/doxygen/index_create.pl html/API/API.tag api_index.doc
16 cp @srcdir@/simgrid_logo.png @srcdir@/simgrid_modules.jpg html/
17 doxygen Doxyfile.API >/dev/null
18 doxygen Doxyfile.Examples >/dev/null
19 doxygen Doxyfile.main >/dev/null
20 # @cd html ; @top_srcdir@/tools/fix_doxygen2.pl `find . -name '*.html'`
21 # @rm -rf html/API html/examples
22 # for i in `find doc/html -name "*.html" -exec grep -l "group_[^_]" {} \;` ; do tools/fix_doxygen.pl $$i; rm $$i.bak; done
26 @for file in `find html/ -type d` ; do \
27 echo "test -z \"$(prefix)/doc/simgrid/$$file\" || $(mkdir_p) \"$(prefix)/doc/simgrid/$$file\"";\
28 test -z "$(prefix)/doc/simgrid/$$file" || $(mkdir_p) "$(prefix)/doc/simgrid/$$file";\
30 @for file in `find html/ -type f` ; do \
31 echo " $(INSTALL_DATA) '$$file' '$(prefix)/doc/simgrid/$$file'";\
32 $(INSTALL_DATA) $$file $(prefix)/doc/simgrid/$$file ;\
36 for file in `find html/ -type f` ; do \
37 echo " rm -f '$(prefix)/doc/simgrid/$$file'";\
38 rm -f $(prefix)/doc/simgrid/$$file ;\