[Pkg-ocaml-maint-commits] [SCM] janest-core packaging branch, master, updated. debian/0.5.3-1-37-gc26f1a0

Stefano Zacchiroli zack at upsilon.cc
Thu Nov 12 22:22:43 UTC 2009


The following commit has been merged in the master branch:
commit c26f1a067fe2836f40115d81d544821284631b5f
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date:   Thu Nov 12 21:50:58 2009 +0100

    add symlinks in the -doc package

diff --git a/debian/libcore-ocaml-doc.dirs b/debian/libcore-ocaml-doc.dirs
new file mode 100644
index 0000000..f23ab2c
--- /dev/null
+++ b/debian/libcore-ocaml-doc.dirs
@@ -0,0 +1,4 @@
+/usr/share/doc-base
+/usr/share/doc/libcore-ocaml-dev/html
+/usr/share/doc/libcore-extended-ocaml-dev/html
+/usr/share/doc/libcore-ocaml-doc/html
diff --git a/debian/libcore-ocaml-doc.links b/debian/libcore-ocaml-doc.links
new file mode 100644
index 0000000..2d95a77
--- /dev/null
+++ b/debian/libcore-ocaml-doc.links
@@ -0,0 +1,2 @@
+/usr/share/doc/libcore-ocaml-dev/html/api		/usr/share/doc/libcore-ocaml-doc/html/core-api
+/usr/share/doc/libcore-extended-ocaml-dev/html/api	/usr/share/doc/libcore-ocaml-doc/html/extended-api
diff --git a/debian/rules b/debian/rules
index 2e50d98..7f2ffff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,15 +52,13 @@ clean::
 build/$(DOC_PKG):: ocamldoc-pp-stamp $(DEST_DIR)
 build/$(DOC_PKG):: install-arch common-binary-post-install-arch
 binary-install/$(DEV_PKG)::
-	dh_installdirs -p$(DOC_PKG) \
-		/usr/share/doc/$(DEV_PKG)/html /usr/share/doc-base
+	dh_installdirs -p$(DOC_PKG)
 	mv debian/$(DEV_PKG)/usr/share/doc/$(DEV_PKG)/html/api \
 		debian/$(DOC_PKG)/usr/share/doc/$(DEV_PKG)/html/api
 	mv debian/$(DEV_PKG)/usr/share/doc-base/* \
 		debian/$(DOC_PKG)/usr/share/doc-base/
 binary-install/$(EXT_PKG)::
-	dh_installdirs -p$(DOC_PKG) \
-		/usr/share/doc/$(EXT_PKG)/html /usr/share/doc-base
+	dh_installdirs -p$(DOC_PKG)
 	mv debian/$(EXT_PKG)/usr/share/doc/$(EXT_PKG)/html/api \
 		debian/$(DOC_PKG)/usr/share/doc/$(EXT_PKG)/html/api
 	mv debian/$(EXT_PKG)/usr/share/doc-base/* \

-- 
janest-core packaging



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