# 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
# 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.
# 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
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
-ocaml (3.10.0-5) UNRELEASED; urgency=low
-
- * NOT RELEASED YET
-
- -- Stefano Zacchiroli <zack@debian.org> 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 <zack@debian.org> Wed, 04 Jul 2007 11:50:43 +0200