[Pkg-ocaml-maint-commits] [SCM] pxp packaging branch, master, updated. debian/1.2.1-1-10-gfff5d20

Stefano Zacchiroli zack at upsilon.cc
Tue Oct 6 14:44:21 UTC 2009


The following commit has been merged in the master branch:
commit 9f02b84563b74654ae9370ce74d6ed57fb444c99
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date:   Tue Oct 6 16:13:55 2009 +0200

    avoid using ocamldoc-apiref-config (which is now gone)
    
    Closes: #549750
    instead ship a hand-written doc-base entry for upstream doc

diff --git a/debian/changelog b/debian/changelog
index 5fe3449..8163d86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ pxp (1.2.1-2) UNRELEASED; urgency=low
   [ Stefano Zacchiroli ]
   * bump Standards-Version to 3.8.3 (no chances needed)
   * update Homepage field to a more specific location
+  * debian/rules: avoid using ocamldoc-apiref-config (which is now gone),
+    instead ship a hand-written doc-base entry for upstream doc
+    (Closes: #549750)
 
   [ Sylvain Le Gall ]
   * Clean examples/validate/Makefile.config
diff --git a/debian/rules b/debian/rules
index 80e271e..d834e6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,9 +15,6 @@ ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
 build/$(PKGNAME)::
 	$(MAKE) opt
 endif
-build/$(PKGNAME)::
-	mkdir -p $(DESTDIR)
-	/usr/share/ocaml/ocamldoc-api-ref-config --doc-base-generate $(PKGNAME)
 binary-post-install/$(PKGNAME)::
 	-for f in debian/$(PKGNAME)/usr/share/doc/$(PKGNAME)/examples/xmlforms/styles/* ; do \
 		test ! -r $$f && rm -f $$f ; \
diff --git a/libpxp-ocaml-dev.doc-base b/libpxp-ocaml-dev.doc-base
new file mode 100644
index 0000000..02ff85e
--- /dev/null
+++ b/libpxp-ocaml-dev.doc-base
@@ -0,0 +1,8 @@
+Document: libpxp-ocaml-dev-ocamldoc-api-reference
+Title: libpxp-ocaml-dev OCamldoc API Reference
+Abstract: API reference manual for libpxp-ocaml-dev (generated via OCamldoc)
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libpxp-ocaml-dev/html/api/index.html
+Files: /usr/share/doc/libpxp-ocaml-dev/html/api/*

-- 
pxp packaging



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