From: Stefano Zacchiroli Date: Wed, 4 Jul 2007 10:48:53 +0000 (+0000) Subject: * CDBS class: X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~556 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8d98339f2c2989468367e983195980234d136b08;p=ocaml.git * CDBS class: - avoid dpatch breaking upon clean if debian/patches/*.in files are in use - fix the usage example for "OCAML_IN_FILES += ...", it was wrong --- diff --git a/debian/cdbs/ocaml-vars.mk b/debian/cdbs/ocaml-vars.mk index 7edf5369..67255b2b 100644 --- a/debian/cdbs/ocaml-vars.mk +++ b/debian/cdbs/ocaml-vars.mk @@ -16,7 +16,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# $Id: ocaml-vars.mk 3830 2007-06-14 19:42:34Z zack $ +# $Id: ocaml-vars.mk 3889 2007-07-04 10:48:53Z zack $ _cdbs_scripts_path ?= /usr/lib/cdbs _cdbs_rules_path ?= /usr/share/cdbs/1/rules @@ -44,7 +44,7 @@ OCAML_DLL_DIR := $(OCAML_STDLIB_DIR)/stublibs # pre-build filling. # Used internally by ocaml.mk. # debian/rules writers might need to add stuff to this list: -# e.g.: OCAML_IN_FILES += debian/patches/foo.in +# e.g.: OCAML_IN_FILES += debian/patches/foo # (no .in extension) OCAML_IN_FILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in))) # 'yes' if native code compilation is available on the build architecture, 'no' otherwise. diff --git a/debian/cdbs/ocaml.mk b/debian/cdbs/ocaml.mk index 9ef5be02..ad65fd01 100644 --- a/debian/cdbs/ocaml.mk +++ b/debian/cdbs/ocaml.mk @@ -16,7 +16,7 @@ # this program; if not, write to the Free Software Foundation, Inc., 51 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# $Id: ocaml.mk 3440 2007-01-02 18:38:11Z zack $ +# $Id: ocaml.mk 3889 2007-07-04 10:48:53Z zack $ _cdbs_scripts_path ?= /usr/lib/cdbs _cdbs_rules_path ?= /usr/share/cdbs/1/rules @@ -56,6 +56,9 @@ ocamlinit-stamp: clean:: rm -f ocamlinit-stamp $(OCAML_IN_FILES) +# avoid dpatch breaking upon clean if debian/patches/*.in files are in use +deapply-dpatches: ocamlinit + # update debian/control substituting @OCamlNativeArchs@ # XXX ASSUMPTION: debian/control has already been generated, i.e. this rule is # executed after the debian/control:: rule in builcore.mk diff --git a/debian/changelog b/debian/changelog index 525c43e3..e0b2b484 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,15 +1,12 @@ -ocaml (3.10.0-5) UNRELEASED; urgency=low - - * NOT RELEASED YET - - -- Stefano Zacchiroli Wed, 04 Jul 2007 10:16:52 +0000 - ocaml (3.10.0-4) experimental; urgency=low * debian/patches/install_ocamlbuild.dpatch - patched to install ocamlbuild as .native/.byte (following upstream convention which will become widespread in the future), but changes ocamlbuild to be a symlink to the best ocamlbuild available + * CDBS class: + - avoid dpatch breaking upon clean if debian/patches/*.in files are in use + - fix the usage example for "OCAML_IN_FILES += ...", it was wrong -- Stefano Zacchiroli Wed, 04 Jul 2007 11:50:43 +0200