The following commit has been merged in the master branch:
commit d74700b58d2e6a26796dcee80e74021679467359
Author: Mehdi Dogguy <[email protected]>
Date:   Tue Jun 30 22:44:33 2009 +0200

    Generate doc and register it with doc-base

diff --git a/debian/changelog b/debian/changelog
index b923ca7..3664b4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ mlgmp (20021123-15) unstable; urgency=low
   * Move library packages to the new ocaml section
   * Add myself to uploaders
   * Bump standards to 3.8.2
+  * Generate documentation
+  * Register documentation with docbase
 
  -- Mehdi Dogguy <[email protected]>  Wed, 24 Jun 2009 21:57:04 +0200
 
diff --git a/debian/rules b/debian/rules
index d038c0e..b025e7a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,11 @@ install-stamp:
        fi
        cp debian/META debian/$(PACKAGE)-dev$(OCAML_STDLIB_DIR)/gmp
 
+       mkdir -p debian/$(PACKAGE)-dev/usr/share/doc/$(PACKAGE)-dev/html/api
+       find debian/$(PACKAGE)-dev$(OCAML_STDLIB_DIR) -type f -name '*.mli' -or 
-name '*.ml' | \
+       xargs ocamldoc -html -d 
debian/$(PACKAGE)-dev/usr/share/doc/$(PACKAGE)-dev/html/api
+       /usr/share/ocaml/ocamldoc-api-ref-config --doc-base-generate 
$(PACKAGE)-dev
+
        dh install --after auto_install
        touch $@
 

-- 
mlgmp packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to