[Pkg-ocaml-maint-commits] [SCM] cduce packaging branch, master, updated. debian/0.5.3-1-5-gb0d08fd
Stephane Glondu
steph at glondu.net
Tue Mar 24 19:42:40 UTC 2009
The following commit has been merged in the master branch:
commit e4e7a8c748f224e6efe95ba8c6fc261ec8ff375c
Author: Stephane Glondu <steph at glondu.net>
Date: Tue Mar 24 20:40:23 2009 +0100
Add build-dependency to quilt and README.source
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..b913526
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+cduce for Debian
+----------------
+
+This source package uses quilt to apply and remove its patches. Please
+refer to `/usr/share/doc/quilt/README.source' for information about
+how to use quilt for source packages.
+
+ -- Stephane Glondu <steph at glondu.net> Tue, 24 Mar 2009 20:31:01 +0100
diff --git a/debian/control b/debian/control
index b04f30c..55d9169 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
Uploaders: Pietro Abate <pietro.abate at pps.jussieu.fr>, Stefano Zacchiroli <zack at debian.org>
Build-Depends: debhelper (>= 7),
dh-ocaml,
+ quilt,
ocaml-nox (>= 3.11.0),
camlp4-extra,
ocaml-source (>= 3.11.0),
@@ -50,4 +51,3 @@ Description: programming language adapted to the manipulation of XML data
standards: Unicode, XML, DTD, Namespaces are fully supported, partial
support of XML Schema validation is in alpha testing (and
undocumented) while queries are being implemented.
-
diff --git a/debian/rules b/debian/rules
index ded3ce0..0aecd80 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
PACKAGE = cduce
include /usr/share/ocaml/ocamlinit.mk
+include /usr/share/quilt/quilt.make
MAKE_OPTS := "NATIVE=$(if $(OCAML_OPT_ARCH),true,false)"
LIBDIR=$(CURDIR)/debian/cduce/$(OCAML_STDLIB_DIR)
@@ -17,7 +18,7 @@ CONFIGURE_OPTS := --prefix=/usr \
--without-pxp
configure: configure-stamp
-configure-stamp: ocamlinit-stamp
+configure-stamp: ocamlinit-stamp patch
dh_testdir
tar -C debian -xjf /usr/src/ocaml-source-$(OCAML_ABI).tar.bz2
./configure $(CONFIGURE_OPTS)
@@ -28,7 +29,7 @@ build-stamp: configure-stamp
$(MAKE) $(MAKE_OPTS) all doc
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
--
cduce packaging
More information about the Pkg-ocaml-maint-commits
mailing list