[Pkg-ocaml-maint-commits] [SCM] mlgmp packaging branch, master, updated. debian/20021123-15-3-gc7404bc
Mehdi Dogguy
dogguy at pps.jussieu.fr
Tue Jun 30 21:04:08 UTC 2009
The following commit has been merged in the master branch:
commit d74700b58d2e6a26796dcee80e74021679467359
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
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 <dogguy at pps.jussieu.fr> 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
More information about the Pkg-ocaml-maint-commits
mailing list