X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/305fbc7b720f845588b22de910245576971a5f97..c19ddaff7936b6e982ac24b571007399a32a0d90:/doc/Makefile.am diff --git a/doc/Makefile.am b/doc/Makefile.am index 71ca56294f..c3c06f6d91 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -81,11 +81,11 @@ 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";\ + test -z "$(DESTDIR)/$(prefix)/doc/simgrid/$$file" || $(mkdir_p) "$(DESTDIR)/$(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 ;\ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)/$(prefix)/doc/simgrid/$$file'";\ + $(INSTALL_DATA) $$file $(DESTDIR)/$(prefix)/doc/simgrid/$$file ;\ done uninstall-local: