Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now the documentation is correctly installed
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 31 Jan 2005 21:30:06 +0000 (21:30 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 31 Jan 2005 21:30:06 +0000 (21:30 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@825 48e7efb5-ca39-0410-a469-dd3cf9ba447f

Makefile.am
doc/Makefile.am

index ad8ae07..1c0fac9 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS= include src examples doc testsuite doc
+SUBDIRS= include src examples testsuite doc
 DISTCLEANFILES =  *~  
 
 ACLOCAL = aclocal -I acmacro -I /usr/share/aclocal/gnome2-macros
index aa68e11..0131c53 100644 (file)
@@ -6,6 +6,7 @@ EXTRA_DIST = html Doxyfile.API Doxyfile.Examples Doxyfile.main \
 DISTCLEANFILES = api_index.doc
 MAINTAINERCLEANFILES = html
 
+if MAINTAINER_MODE
 html: $(DOCSOURCES) Doxyfile.API  Doxyfile.Examples  Doxyfile.main
        touch api_index.doc
        doxygen Doxyfile.main
@@ -19,5 +20,22 @@ html: $(DOCSOURCES) Doxyfile.API  Doxyfile.Examples  Doxyfile.main
 #      @cd html ; @top_srcdir@/tools/fix_doxygen2.pl `find . -name '*.html'`
 #      @rm -rf html/API html/examples
 #      for i in `find doc/html -name "*.html" -exec grep -l "group_[^_]"  {} \;` ; do tools/fix_doxygen.pl $$i; rm $$i.bak; done
+endif
+
+install-data-local: 
+       @for file in `find html/ -type d` ; do \
+          echo "test -z \"$(prefix)/doc/simgrid/$$file\" || $(mkdir_p) \"$(prefix)/doc/simgrid/$$file\"";\
+          test -z "$(prefix)/doc/simgrid/$$file" || $(mkdir_p) "$(prefix)/doc/simgrid/$$file";\
+       done
+       @for file in `find html/ -type f` ; do \
+          echo " $(INSTALL_DATA) '$$file' '$(prefix)/doc/simgrid/$$file'";\
+          $(INSTALL_DATA) $$file $(prefix)/doc/simgrid/$$file ;\
+       done
+
+uninstall-local:
+       for file in `find html/ -type f` ; do \
+          echo " rm -f '$(prefix)/doc/simgrid/$$file'";\
+          rm -f $(prefix)/doc/simgrid/$$file ;\
+       done
 
 .PHONY: html