[Pkg-ocaml-maint-commits] r6434 - in /trunk/packages/ocamlcreal/trunk/debian: changelog rules

dogguy-guest at users.alioth.debian.org dogguy-guest at users.alioth.debian.org
Wed Jul 8 22:23:13 UTC 2009


Author: dogguy-guest
Date: Wed Jul  8 22:23:13 2009
New Revision: 6434

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=6434
Log:
Generate and install documentation

Modified:
    trunk/packages/ocamlcreal/trunk/debian/changelog
    trunk/packages/ocamlcreal/trunk/debian/rules

Modified: trunk/packages/ocamlcreal/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlcreal/trunk/debian/changelog?rev=6434&op=diff
==============================================================================
--- trunk/packages/ocamlcreal/trunk/debian/changelog (original)
+++ trunk/packages/ocamlcreal/trunk/debian/changelog Wed Jul  8 22:23:13 2009
@@ -16,6 +16,7 @@
   * Fix debian-copyright-file-uses-obsolete-national-encoding
   * Add dh-ocaml as a build-dependency
   * Tighten build dependencies to ease OCaml 3.11.1 transition
+  * Generate and install documentation
 
  -- Mehdi Dogguy <dogguy at pps.jussieu.fr>  Tue, 07 Jul 2009 13:48:30 +0200
 

Modified: trunk/packages/ocamlcreal/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlcreal/trunk/debian/rules?rev=6434&op=diff
==============================================================================
--- trunk/packages/ocamlcreal/trunk/debian/rules (original)
+++ trunk/packages/ocamlcreal/trunk/debian/rules Wed Jul  8 22:23:13 2009
@@ -37,6 +37,10 @@
 	$(MAKE) install LIBDIR=$(CURDIR)/debian/$(PACKAGE)$(OCAML_STDLIB_DIR)/creal
 	cp debian/META debian/$(PACKAGE)$(OCAML_STDLIB_DIR)/creal
 
+	mkdir -p debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/html/api
+	find debian/$(PACKAGE)$(OCAML_STDLIB_DIR) -type f -name '*.mli' -or -name '*.ml' | \
+	xargs ocamldoc -I +gmp -html -d debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/html/api
+	/usr/share/ocaml/ocamldoc-api-ref-config --doc-base-generate $(PACKAGE)
 
 # Build architecture-independent files here.
 binary-indep: build install




More information about the Pkg-ocaml-maint-commits mailing list