[Pkg-ocaml-maint-commits] [SCM] calendar packaging branch, master, updated. debian/2.01.1-4-9-gb3f6447
Mehdi Dogguy
dogguy at pps.jussieu.fr
Tue Apr 14 13:09:52 UTC 2009
The following commit has been merged in the master branch:
commit 9fc3b6e2f7bdb91135e3992d11766f5765c64a44
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date: Tue Apr 14 11:10:37 2009 +0200
Generating doc and moving it to the -doc package
diff --git a/debian/libcalendar-ocaml-doc.doc-base b/debian/libcalendar-ocaml-doc.doc-base
deleted file mode 100644
index f52d403..0000000
--- a/debian/libcalendar-ocaml-doc.doc-base
+++ /dev/null
@@ -1,9 +0,0 @@
-Document: libcalendar-ocaml-doc
-Title: Documentation for calendar library
-Author: Julien Signoles
-Abstract: Documentation of the calendar modules.
-Section: Programming/OCaml
-
-Format: HTML
-Index: /usr/share/doc/libcalendar-ocaml-doc/doc/index.html
-Files: /usr/share/doc/libcalendar-ocaml-doc/doc/*.html
diff --git a/debian/rules b/debian/rules
index 06702c8..a37df69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,8 @@ include /usr/share/cdbs/1/rules/dpatch.mk
include /usr/share/cdbs/1/rules/ocaml.mk
PKGNAME = libcalendar-ocaml-dev
-DEB_MAKE_INSTALL_TARGET = install OCAML_LIB_DIR=$(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
+DESTDIR = $(CURDIR)/debian/tmp
+DEB_MAKE_INSTALL_TARGET = install OCAML_LIB_DIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
DEB_MAKE_BUILD_TARGET = all doc
FILES_TO_BACKUP = .depend config.status
@@ -17,6 +18,9 @@ debian/configure-stamp:
./configure
touch $@
+build/libcalendar-ocaml-doc::
+ /usr/share/ocaml/ocamldoc-api-ref-config --doc-base-generate libcalendar-ocaml-doc
+
clean::
rm -rf target/
for i in $(FILES_TO_BACKUP); do \
--
calendar packaging
More information about the Pkg-ocaml-maint-commits
mailing list