Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now the documentation is correctly installed
[simgrid.git] / doc / Makefile.am
1 DOCSOURCES = $(shell find @top_srcdir@/src @top_srcdir@/include -name "*.[chl]") $(shell find @top_srcdir@/src @top_srcdir@/include -name "*.doc")
2
3 EXTRA_DIST = html Doxyfile.API Doxyfile.Examples Doxyfile.main \
4  FAQ.doc index.doc footer.html simgrid_logo.png simgrid_modules.jpg
5
6 DISTCLEANFILES = api_index.doc
7 MAINTAINERCLEANFILES = html
8
9 if MAINTAINER_MODE
10 html: $(DOCSOURCES) Doxyfile.API  Doxyfile.Examples  Doxyfile.main
11         touch api_index.doc
12         doxygen Doxyfile.main
13         doxygen Doxyfile.API
14         doxygen Doxyfile.Examples
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
18         doxygen Doxyfile.Examples
19         doxygen Doxyfile.main
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
23 endif
24
25 install-data-local: 
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";\
29         done
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 ;\
33         done
34
35 uninstall-local:
36         for file in `find html/ -type f` ; do \
37            echo " rm -f '$(prefix)/doc/simgrid/$$file'";\
38            rm -f $(prefix)/doc/simgrid/$$file ;\
39         done
40
41 .PHONY: html