47 lines
1.8 KiB
Diff
47 lines
1.8 KiB
Diff
--- docs/Makefile.orig 2010-04-26 15:00:58.000000000 +0200
|
|
+++ docs/Makefile 2010-04-26 15:03:12.000000000 +0200
|
|
@@ -46,13 +46,12 @@
|
|
# 'make generated BUILD_FOR_WEBSITE=1'
|
|
generated:: doxygen ocamldoc
|
|
|
|
-install-html: $(PROJ_OBJ_DIR)/html.tar.gz
|
|
+install-html:
|
|
$(Echo) Installing HTML documentation
|
|
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
|
|
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img
|
|
$(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
|
|
$(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img
|
|
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
|
|
|
|
$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
|
|
$(Echo) Packaging HTML documentation
|
|
@@ -64,12 +63,11 @@
|
|
install-doxygen: doxygen
|
|
$(Echo) Installing doxygen documentation
|
|
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen
|
|
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir)
|
|
$(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \
|
|
$(FIND) . -type f -exec \
|
|
$(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \;
|
|
|
|
-doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
|
|
+doxygen: regendoc
|
|
|
|
regendoc:
|
|
$(Echo) Building doxygen documentation
|
|
@@ -95,7 +93,6 @@
|
|
install-ocamldoc: ocamldoc
|
|
$(Echo) Installing ocamldoc documentation
|
|
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html
|
|
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(DESTDIR)$(PROJ_docsdir)
|
|
$(Verb) cd $(PROJ_OBJ_DIR)/ocamldoc && \
|
|
$(FIND) . -type f -exec \
|
|
$(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html \;
|
|
@@ -105,7 +102,6 @@
|
|
$(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc.tar*
|
|
$(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/ocamldoc.tar ocamldoc
|
|
$(Verb) $(GZIP) $(PROJ_OBJ_DIR)/ocamldoc.tar
|
|
- $(Verb) $(CP) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_OBJ_DIR)/ocamldoc/html/
|
|
|
|
regen-ocamldoc:
|
|
$(Echo) Building ocamldoc documentation
|